home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / BROWSER.XPI / bin / chrome / comm.jar < prev    next >
PKZip Archive  |  2006-09-10  |  3.2 MB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: PKZip Archive (archive/zip).

You can browse this item here: comm.jar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Jul 13 2004 14:48:20, uncompressed size 552, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
35% TrID Sweet Home 3D design (generic) default (weak)
27% TrID Mozilla Firefox browser extension default (weak)
23% TrID Mozilla Archive Format (gen) default (weak)
13% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,462 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 552, uncompressed size: 552, name: content/necko/contents.rdf default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 0a 76 ed 30 40 86 |PK......|...v.0@.|
|00000010| 94 b6 28 02 00 00 28 02 | 00 00 1a 00 00 00 63 6f |..(...(.|......co|
|00000020| 6e 74 65 6e 74 2f 6e 65 | 63 6b 6f 2f 63 6f 6e 74 |ntent/ne|cko/cont|
|00000030| 65 6e 74 73 2e 72 64 66 | 3c 3f 78 6d 6c 20 76 65 |ents.rdf|<?xml ve|
|00000040| 72 73 69 6f 6e 3d 22 31 | 2e 30 22 3f 3e 0a 3c 52 |rsion="1|.0"?>.<R|
|00000050| 44 46 3a 52 44 46 20 78 | 6d 6c 6e 73 3a 52 44 46 |DF:RDF x|mlns:RDF|
|00000060| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 77 33 2e |="http:/|/www.w3.|
|00000070| 6f 72 67 2f 31 39 39 39 | 2f 30 32 2f 32 32 2d 72 |org/1999|/02/22-r|
|00000080| 64 66 2d 73 79 6e 74 61 | 78 2d 6e 73 23 22 0a 20 |df-synta|x-ns#". |
|00000090| 20 20 20 20 20 20 20 20 | 78 6d 6c 6e 73 3a 63 68 | |xmlns:ch|
|000000a0| 72 6f 6d 65 3d 22 68 74 | 74 70 3a 2f 2f 77 77 77 |rome="ht|tp://www|
|000000b0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 72 64 66 |.mozilla|.org/rdf|
|000000c0| 2f 63 68 72 6f 6d 65 23 | 22 3e 0a 0a 20 20 3c 21 |/chrome#|">.. <!|
|000000d0| 2d 2d 20 6c 69 73 74 20 | 61 6c 6c 20 74 68 65 20 |-- list |all the |
|000000e0| 70 61 63 6b 61 67 65 73 | 20 62 65 69 6e 67 20 73 |packages| being s|
|000000f0| 75 70 70 6c 69 65 64 20 | 2d 2d 3e 0a 20 20 3c 52 |upplied |-->. <R|
|00000100| 44 46 3a 53 65 71 20 61 | 62 6f 75 74 3d 22 75 72 |DF:Seq a|bout="ur|
|00000110| 6e 3a 6d 6f 7a 69 6c 6c | 61 3a 70 61 63 6b 61 67 |n:mozill|a:packag|
|00000120| 65 3a 72 6f 6f 74 22 3e | 0a 20 20 20 20 3c 52 44 |e:root">|. <RD|
|00000130| 46 3a 6c 69 20 72 65 73 | 6f 75 72 63 65 3d 22 75 |F:li res|ource="u|
|00000140| 72 6e 3a 6d 6f 7a 69 6c | 6c 61 3a 70 61 63 6b 61 |rn:mozil|la:packa|
|00000150| 67 65 3a 6e 65 63 6b 6f | 22 2f 3e 0a 20 20 3c 2f |ge:necko|"/>. </|
|00000160| 52 44 46 3a 53 65 71 3e | 0a 0a 20 20 3c 21 2d 2d |RDF:Seq>|.. <!--|
|00000170| 20 70 61 63 6b 61 67 65 | 20 69 6e 66 6f 72 6d 61 | package| informa|
|00000180| 74 69 6f 6e 20 2d 2d 3e | 0a 20 20 3c 52 44 46 3a |tion -->|. <RDF:|
|00000190| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 61 62 6f 75 |Descript|ion abou|
|000001a0| 74 3d 22 75 72 6e 3a 6d | 6f 7a 69 6c 6c 61 3a 70 |t="urn:m|ozilla:p|
|000001b0| 61 63 6b 61 67 65 3a 6e | 65 63 6b 6f 22 0a 20 20 |ackage:n|ecko". |
|000001c0| 20 20 20 20 20 20 63 68 | 72 6f 6d 65 3a 64 69 73 | ch|rome:dis|
|000001d0| 70 6c 61 79 4e 61 6d 65 | 3d 22 4e 65 63 6b 6f 22 |playName|="Necko"|
|000001e0| 0a 20 20 20 20 20 20 20 | 20 63 68 72 6f 6d 65 3a |. | chrome:|
|000001f0| 61 75 74 68 6f 72 3d 22 | 6d 6f 7a 69 6c 6c 61 2e |author="|mozilla.|
|00000200| 6f 72 67 22 0a 20 20 20 | 20 20 20 20 20 63 68 72 |org". | chr|
|00000210| 6f 6d 65 3a 6e 61 6d 65 | 3d 22 6e 65 63 6b 6f 22 |ome:name|="necko"|
|00000220| 0a 20 09 63 68 72 6f 6d | 65 3a 6c 6f 63 61 6c 65 |. .chrom|e:locale|
|00000230| 56 65 72 73 69 6f 6e 3d | 22 31 2e 38 22 3e 0a 20 |Version=|"1.8">. |
|00000240| 20 3c 2f 52 44 46 3a 44 | 65 73 63 72 69 70 74 69 | </RDF:D|escripti|
|00000250| 6f 6e 3e 0a 0a 3c 2f 52 | 44 46 3a 52 44 46 3e 0a |on>..</R|DF:RDF>.|
|00000260| 50 4b 03 04 0a 00 00 00 | 00 00 fa 5c 88 31 6c 3f |PK......|...\.1l?|
|00000270| e2 62 da 01 00 00 da 01 | 00 00 20 00 00 00 63 6f |.b......|.. ...co|
|00000280| 6e 74 65 6e 74 2f 78 62 | 6c 2d 6d 61 72 71 75 65 |ntent/xb|l-marque|
|00000290| 65 2f 63 6f 6e 74 65 6e | 74 73 2e 72 64 66 3c 3f |e/conten|ts.rdf<?|
|000002a0| 78 6d 6c 20 76 65 72 73 | 69 6f 6e 3d 22 31 2e 30 |xml vers|ion="1.0|
|000002b0| 22 3f 3e 0a 3c 52 44 46 | 3a 52 44 46 20 78 6d 6c |"?>.<RDF|:RDF xml|
|000002c0| 6e 73 3a 52 44 46 3d 22 | 68 74 74 70 3a 2f 2f 77 |ns:RDF="|http://w|
|000002d0| 77 77 2e 77 33 2e 6f 72 | 67 2f 31 39 39 39 2f 30 |ww.w3.or|g/1999/0|
|000002e0| 32 2f 32 32 2d 72 64 66 | 2d 73 79 6e 74 61 78 2d |2/22-rdf|-syntax-|
|000002f0| 6e 73 23 22 0a 20 78 6d | 6c 6e 73 3a 63 68 72 6f |ns#". xm|lns:chro|
|00000300| 6d 65 3d 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d |me="http|://www.m|
|00000310| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 72 64 66 2f 63 |ozilla.o|rg/rdf/c|
|00000320| 68 72 6f 6d 65 23 22 3e | 0a 0a 20 3c 52 44 46 3a |hrome#">|.. <RDF:|
|00000330| 53 65 71 20 61 62 6f 75 | 74 3d 22 75 72 6e 3a 6d |Seq abou|t="urn:m|
|00000340| 6f 7a 69 6c 6c 61 3a 70 | 61 63 6b 61 67 65 3a 72 |ozilla:p|ackage:r|
|00000350| 6f 6f 74 22 3e 0a 20 20 | 20 3c 52 44 46 3a 6c 69 |oot">. | <RDF:li|
|00000360| 20 72 65 73 6f 75 72 63 | 65 3d 22 75 72 6e 3a 6d | resourc|e="urn:m|
|00000370| 6f 7a 69 6c 6c 61 3a 70 | 61 63 6b 61 67 65 3a 78 |ozilla:p|ackage:x|
|00000380| 62 6c 2d 6d 61 72 71 75 | 65 65 22 2f 3e 0a 20 3c |bl-marqu|ee"/>. <|
|00000390| 2f 52 44 46 3a 53 65 71 | 3e 0a 0a 20 3c 52 44 46 |/RDF:Seq|>.. <RDF|
|000003a0| 3a 44 65 73 63 72 69 70 | 74 69 6f 6e 20 61 62 6f |:Descrip|tion abo|
|000003b0| 75 74 3d 22 75 72 6e 3a | 6d 6f 7a 69 6c 6c 61 3a |ut="urn:|mozilla:|
|000003c0| 70 61 63 6b 61 67 65 3a | 78 62 6c 2d 6d 61 72 71 |package:|xbl-marq|
|000003d0| 75 65 65 22 0a 20 20 20 | 63 68 72 6f 6d 65 3a 64 |uee". |chrome:d|
|000003e0| 69 73 70 6c 61 79 4e 61 | 6d 65 3d 22 58 42 4c 20 |isplayNa|me="XBL |
|000003f0| 4d 61 72 71 75 65 65 20 | 45 6d 75 6c 61 74 69 6f |Marquee |Emulatio|
|00000400| 6e 22 0a 20 20 20 63 68 | 72 6f 6d 65 3a 61 75 74 |n". ch|rome:aut|
|00000410| 68 6f 72 3d 22 4e 65 74 | 73 63 61 70 65 20 43 6f |hor="Net|scape Co|
|00000420| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 43 6f 72 |mmunicat|ions Cor|
|00000430| 70 6f 72 61 74 69 6f 6e | 22 0a 20 20 20 63 68 72 |poration|". chr|
|00000440| 6f 6d 65 3a 6e 61 6d 65 | 3d 22 78 62 6c 2d 6d 61 |ome:name|="xbl-ma|
|00000450| 72 71 75 65 65 22 3e 0a | 20 3c 2f 52 44 46 3a 44 |rquee">.| </RDF:D|
|00000460| 65 73 63 72 69 70 74 69 | 6f 6e 3e 0a 0a 3c 2f 52 |escripti|on>..</R|
|00000470| 44 46 3a 52 44 46 3e 0a | 50 4b 03 04 0a 00 00 00 |DF:RDF>.|PK......|
|00000480| 00 00 c5 66 2d 33 0e 77 | 1e 69 85 36 00 00 85 36 |...f-3.w|.i.6...6|
|00000490| 00 00 23 00 00 00 63 6f | 6e 74 65 6e 74 2f 78 62 |..#...co|ntent/xb|
|000004a0| 6c 2d 6d 61 72 71 75 65 | 65 2f 78 62 6c 2d 6d 61 |l-marque|e/xbl-ma|
|000004b0| 72 71 75 65 65 2e 78 6d | 6c 3c 3f 78 6d 6c 20 76 |rquee.xm|l<?xml v|
|000004c0| 65 72 73 69 6f 6e 3d 22 | 31 2e 30 22 3f 3e 0a 3c |ersion="|1.0"?>.<|
|000004d0| 21 2d 2d 20 2a 2a 2a 2a | 2a 20 42 45 47 49 4e 20 |!-- ****|* BEGIN |
|000004e0| 4c 49 43 45 4e 53 45 20 | 42 4c 4f 43 4b 20 2a 2a |LICENSE |BLOCK **|
|000004f0| 2a 2a 2a 0a 20 20 20 2d | 20 56 65 72 73 69 6f 6e |***. -| Version|
|00000500| 3a 20 4d 50 4c 20 31 2e | 31 2f 47 50 4c 20 32 2e |: MPL 1.|1/GPL 2.|
|00000510| 30 2f 4c 47 50 4c 20 32 | 2e 31 0a 20 20 20 2d 0a |0/LGPL 2|.1. -.|
|00000520| 20 20 20 2d 20 54 68 65 | 20 63 6f 6e 74 65 6e 74 | - The| content|
|00000530| 73 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 61 |s of thi|s file a|
|00000540| 72 65 20 73 75 62 6a 65 | 63 74 20 74 6f 20 74 68 |re subje|ct to th|
|00000550| 65 20 4d 6f 7a 69 6c 6c | 61 20 50 75 62 6c 69 63 |e Mozill|a Public|
|00000560| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|00000570| 0a 20 20 20 2d 20 31 2e | 31 20 28 74 68 65 20 22 |. - 1.|1 (the "|
|00000580| 4c 69 63 65 6e 73 65 22 | 29 3b 20 79 6f 75 20 6d |License"|); you m|
|00000590| 61 79 20 6e 6f 74 20 75 | 73 65 20 74 68 69 73 20 |ay not u|se this |
|000005a0| 66 69 6c 65 20 65 78 63 | 65 70 74 20 69 6e 20 63 |file exc|ept in c|
|000005b0| 6f 6d 70 6c 69 61 6e 63 | 65 20 77 69 74 68 0a 20 |omplianc|e with. |
|000005c0| 20 20 2d 20 74 68 65 20 | 4c 69 63 65 6e 73 65 2e | - the |License.|
|000005d0| 20 59 6f 75 20 6d 61 79 | 20 6f 62 74 61 69 6e 20 | You may| obtain |
|000005e0| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 4c 69 |a copy o|f the Li|
|000005f0| 63 65 6e 73 65 20 61 74 | 0a 20 20 20 2d 20 68 74 |cense at|. - ht|
|00000600| 74 70 3a 2f 2f 77 77 77 | 2e 6d 6f 7a 69 6c 6c 61 |tp://www|.mozilla|
|00000610| 2e 6f 72 67 2f 4d 50 4c | 2f 0a 20 20 20 2d 0a 20 |.org/MPL|/. -. |
|00000620| 20 20 2d 20 53 6f 66 74 | 77 61 72 65 20 64 69 73 | - Soft|ware dis|
|00000630| 74 72 69 62 75 74 65 64 | 20 75 6e 64 65 72 20 74 |tributed| under t|
|00000640| 68 65 20 4c 69 63 65 6e | 73 65 20 69 73 20 64 69 |he Licen|se is di|
|00000650| 73 74 72 69 62 75 74 65 | 64 20 6f 6e 20 61 6e 20 |stribute|d on an |
|00000660| 22 41 53 20 49 53 22 20 | 62 61 73 69 73 2c 0a 20 |"AS IS" |basis,. |
|00000670| 20 20 2d 20 57 49 54 48 | 4f 55 54 20 57 41 52 52 | - WITH|OUT WARR|
|00000680| 41 4e 54 59 20 4f 46 20 | 41 4e 59 20 4b 49 4e 44 |ANTY OF |ANY KIND|
|00000690| 2c 20 65 69 74 68 65 72 | 20 65 78 70 72 65 73 73 |, either| express|
|000006a0| 20 6f 72 20 69 6d 70 6c | 69 65 64 2e 20 53 65 65 | or impl|ied. See|
|000006b0| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 0a 20 20 20 | the Lic|ense. |
|000006c0| 2d 20 66 6f 72 20 74 68 | 65 20 73 70 65 63 69 66 |- for th|e specif|
|000006d0| 69 63 20 6c 61 6e 67 75 | 61 67 65 20 67 6f 76 65 |ic langu|age gove|
|000006e0| 72 6e 69 6e 67 20 72 69 | 67 68 74 73 20 61 6e 64 |rning ri|ghts and|
|000006f0| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 73 20 75 6e 64 | limitat|ions und|
|00000700| 65 72 20 74 68 65 0a 20 | 20 20 2d 20 4c 69 63 65 |er the. | - Lice|
|00000710| 6e 73 65 2e 0a 20 20 20 | 2d 0a 20 20 20 2d 20 54 |nse.. |-. - T|
|00000720| 68 65 20 4f 72 69 67 69 | 6e 61 6c 20 43 6f 64 65 |he Origi|nal Code|
|00000730| 20 69 73 20 4e 65 74 73 | 63 61 70 65 27 73 20 58 | is Nets|cape's X|
|00000740| 42 4c 20 4d 61 72 71 75 | 65 65 20 45 6d 75 6c 61 |BL Marqu|ee Emula|
|00000750| 74 69 6f 6e 20 63 6f 64 | 65 2e 0a 20 20 20 2d 0a |tion cod|e.. -.|
|00000760| 20 20 20 2d 20 54 68 65 | 20 49 6e 69 74 69 61 6c | - The| Initial|
|00000770| 20 44 65 76 65 6c 6f 70 | 65 72 20 6f 66 20 74 68 | Develop|er of th|
|00000780| 65 20 4f 72 69 67 69 6e | 61 6c 20 43 6f 64 65 20 |e Origin|al Code |
|00000790| 69 73 0a 20 20 20 2d 20 | 4e 65 74 73 63 61 70 65 |is. - |Netscape|
|000007a0| 20 43 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 73 20 | Communi|cations |
|000007b0| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 0a 20 20 20 |Corporat|ion.. |
|000007c0| 2d 20 50 6f 72 74 69 6f | 6e 73 20 63 72 65 61 74 |- Portio|ns creat|
|000007d0| 65 64 20 62 79 20 74 68 | 65 20 49 6e 69 74 69 61 |ed by th|e Initia|
|000007e0| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 61 72 65 20 |l Develo|per are |
|000007f0| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 32 30 |Copyrigh|t (C) 20|
|00000800| 30 32 0a 20 20 20 2d 20 | 74 68 65 20 49 6e 69 74 |02. - |the Init|
|00000810| 69 61 6c 20 44 65 76 65 | 6c 6f 70 65 72 2e 20 41 |ial Deve|loper. A|
|00000820| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv|
|00000830| 65 64 2e 0a 20 20 20 2d | 0a 20 20 20 2d 20 43 6f |ed.. -|. - Co|
|00000840| 6e 74 72 69 62 75 74 6f | 72 28 73 29 3a 0a 20 20 |ntributo|r(s):. |
|00000850| 20 2d 20 20 20 44 6f 72 | 6f 6e 20 52 6f 73 65 6e | - Dor|on Rosen|
|00000860| 62 65 72 67 20 3c 64 6f | 72 6f 6e 40 6e 65 74 73 |berg <do|ron@nets|
|00000870| 63 61 70 65 2e 63 6f 6d | 3e 0a 20 20 20 2d 20 20 |cape.com|>. - |
|00000880| 20 4c 2e 20 44 61 76 69 | 64 20 42 61 72 6f 6e 20 | L. Davi|d Baron |
|00000890| 3c 64 62 61 72 6f 6e 40 | 64 62 61 72 6f 6e 2e 6f |<dbaron@|dbaron.o|
|000008a0| 72 67 3e 0a 20 20 20 2d | 0a 20 20 20 2d 20 41 6c |rg>. -|. - Al|
|000008b0| 74 65 72 6e 61 74 69 76 | 65 6c 79 2c 20 74 68 65 |ternativ|ely, the|
|000008c0| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|000008d0| 73 20 66 69 6c 65 20 6d | 61 79 20 62 65 20 75 73 |s file m|ay be us|
|000008e0| 65 64 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |ed under| the ter|
|000008f0| 6d 73 20 6f 66 0a 20 20 | 20 2d 20 65 69 74 68 65 |ms of. | - eithe|
|00000900| 72 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |r the GN|U Genera|
|00000910| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000920| 20 56 65 72 73 69 6f 6e | 20 32 20 6f 72 20 6c 61 | Version| 2 or la|
|00000930| 74 65 72 20 28 74 68 65 | 20 22 47 50 4c 22 29 2c |ter (the| "GPL"),|
|00000940| 20 6f 72 0a 20 20 20 2d | 20 74 68 65 20 47 4e 55 | or. -| the GNU|
|00000950| 20 4c 65 73 73 65 72 20 | 47 65 6e 65 72 61 6c 20 | Lesser |General |
|00000960| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|00000970| 65 72 73 69 6f 6e 20 32 | 2e 31 20 6f 72 20 6c 61 |ersion 2|.1 or la|
|00000980| 74 65 72 20 28 74 68 65 | 20 22 4c 47 50 4c 22 29 |ter (the| "LGPL")|
|00000990| 2c 0a 20 20 20 2d 20 69 | 6e 20 77 68 69 63 68 20 |,. - i|n which |
|000009a0| 63 61 73 65 20 74 68 65 | 20 70 72 6f 76 69 73 69 |case the| provisi|
|000009b0| 6f 6e 73 20 6f 66 20 74 | 68 65 20 47 50 4c 20 6f |ons of t|he GPL o|
|000009c0| 72 20 74 68 65 20 4c 47 | 50 4c 20 61 72 65 20 61 |r the LG|PL are a|
|000009d0| 70 70 6c 69 63 61 62 6c | 65 20 69 6e 73 74 65 61 |pplicabl|e instea|
|000009e0| 64 0a 20 20 20 2d 20 6f | 66 20 74 68 6f 73 65 20 |d. - o|f those |
|000009f0| 61 62 6f 76 65 2e 20 49 | 66 20 79 6f 75 20 77 69 |above. I|f you wi|
|00000a00| 73 68 20 74 6f 20 61 6c | 6c 6f 77 20 75 73 65 20 |sh to al|low use |
|00000a10| 6f 66 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |of your |version |
|00000a20| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 6f 6e 6c |of this |file onl|
|00000a30| 79 0a 20 20 20 2d 20 75 | 6e 64 65 72 20 74 68 65 |y. - u|nder the|
|00000a40| 20 74 65 72 6d 73 20 6f | 66 20 65 69 74 68 65 72 | terms o|f either|
|00000a50| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|00000a60| 4c 47 50 4c 2c 20 61 6e | 64 20 6e 6f 74 20 74 6f |LGPL, an|d not to|
|00000a70| 20 61 6c 6c 6f 77 20 6f | 74 68 65 72 73 20 74 6f | allow o|thers to|
|00000a80| 0a 20 20 20 2d 20 75 73 | 65 20 79 6f 75 72 20 76 |. - us|e your v|
|00000a90| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|00000aa0| 69 6c 65 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |ile unde|r the te|
|00000ab0| 72 6d 73 20 6f 66 20 74 | 68 65 20 4d 50 4c 2c 20 |rms of t|he MPL, |
|00000ac0| 69 6e 64 69 63 61 74 65 | 20 79 6f 75 72 0a 20 20 |indicate| your. |
|00000ad0| 20 2d 20 64 65 63 69 73 | 69 6f 6e 20 62 79 20 64 | - decis|ion by d|
|00000ae0| 65 6c 65 74 69 6e 67 20 | 74 68 65 20 70 72 6f 76 |eleting |the prov|
|00000af0| 69 73 69 6f 6e 73 20 61 | 62 6f 76 65 20 61 6e 64 |isions a|bove and|
|00000b00| 20 72 65 70 6c 61 63 65 | 20 74 68 65 6d 20 77 69 | replace| them wi|
|00000b10| 74 68 20 74 68 65 20 6e | 6f 74 69 63 65 0a 20 20 |th the n|otice. |
|00000b20| 20 2d 20 61 6e 64 20 6f | 74 68 65 72 20 70 72 6f | - and o|ther pro|
|00000b30| 76 69 73 69 6f 6e 73 20 | 72 65 71 75 69 72 65 64 |visions |required|
|00000b40| 20 62 79 20 74 68 65 20 | 4c 47 50 4c 20 6f 72 20 | by the |LGPL or |
|00000b50| 74 68 65 20 47 50 4c 2e | 20 49 66 20 79 6f 75 20 |the GPL.| If you |
|00000b60| 64 6f 20 6e 6f 74 20 64 | 65 6c 65 74 65 0a 20 20 |do not d|elete. |
|00000b70| 20 2d 20 74 68 65 20 70 | 72 6f 76 69 73 69 6f 6e | - the p|rovision|
|00000b80| 73 20 61 62 6f 76 65 2c | 20 61 20 72 65 63 69 70 |s above,| a recip|
|00000b90| 69 65 6e 74 20 6d 61 79 | 20 75 73 65 20 79 6f 75 |ient may| use you|
|00000ba0| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|00000bb0| 73 20 66 69 6c 65 20 75 | 6e 64 65 72 0a 20 20 20 |s file u|nder. |
|00000bc0| 2d 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 61 |- the te|rms of a|
|00000bd0| 6e 79 20 6f 6e 65 20 6f | 66 20 74 68 65 20 4d 50 |ny one o|f the MP|
|00000be0| 4c 2c 20 74 68 65 20 47 | 50 4c 20 6f 72 20 74 68 |L, the G|PL or th|
|00000bf0| 65 20 4c 47 50 4c 2e 0a | 20 20 20 2d 0a 20 20 20 |e LGPL..| -. |
|00000c00| 2d 20 2a 2a 2a 2a 2a 20 | 45 4e 44 20 4c 49 43 45 |- ***** |END LICE|
|00000c10| 4e 53 45 20 42 4c 4f 43 | 4b 20 2a 2a 2a 2a 2a 20 |NSE BLOC|K ***** |
|00000c20| 2d 2d 3e 0a 0a 3c 62 69 | 6e 64 69 6e 67 73 20 69 |-->..<bi|ndings i|
|00000c30| 64 3d 22 6d 61 72 71 75 | 65 65 42 69 6e 64 69 6e |d="marqu|eeBindin|
|00000c40| 67 73 22 0a 20 20 20 20 | 20 20 20 20 20 20 78 6d |gs". | xm|
|00000c50| 6c 6e 73 3d 22 68 74 74 | 70 3a 2f 2f 77 77 77 2e |lns="htt|p://www.|
|00000c60| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 78 62 6c 22 |mozilla.|org/xbl"|
|00000c70| 0a 20 20 20 20 20 20 20 | 20 20 20 78 6d 6c 6e 73 |. | xmlns|
|00000c80| 3a 68 74 6d 6c 3d 22 68 | 74 74 70 3a 2f 2f 77 77 |:html="h|ttp://ww|
|00000c90| 77 2e 77 33 2e 6f 72 67 | 2f 31 39 39 39 2f 78 68 |w.w3.org|/1999/xh|
|00000ca0| 74 6d 6c 22 0a 20 20 20 | 20 20 20 20 20 20 20 78 |tml". | x|
|00000cb0| 6d 6c 6e 73 3a 78 75 6c | 3d 22 68 74 74 70 3a 2f |mlns:xul|="http:/|
|00000cc0| 2f 77 77 77 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |/www.moz|illa.org|
|00000cd0| 2f 6b 65 79 6d 61 73 74 | 65 72 2f 67 61 74 65 6b |/keymast|er/gatek|
|00000ce0| 65 65 70 65 72 2f 74 68 | 65 72 65 2e 69 73 2e 6f |eeper/th|ere.is.o|
|00000cf0| 6e 6c 79 2e 78 75 6c 22 | 0a 20 20 20 20 20 20 20 |nly.xul"|. |
|00000d00| 20 20 20 78 6d 6c 6e 73 | 3a 78 62 6c 3d 22 68 74 | xmlns|:xbl="ht|
|00000d10| 74 70 3a 2f 2f 77 77 77 | 2e 6d 6f 7a 69 6c 6c 61 |tp://www|.mozilla|
|00000d20| 2e 6f 72 67 2f 78 62 6c | 22 3e 0a 0a 0a 20 20 3c |.org/xbl|">... <|
|00000d30| 62 69 6e 64 69 6e 67 20 | 69 64 3d 22 6d 61 72 71 |binding |id="marq|
|00000d40| 75 65 65 22 20 69 6e 68 | 65 72 69 74 73 74 79 6c |uee" inh|eritstyl|
|00000d50| 65 3d 22 66 61 6c 73 65 | 22 3e 0a 0a 20 20 20 20 |e="false|">.. |
|00000d60| 3c 72 65 73 6f 75 72 63 | 65 73 3e 0a 20 20 20 20 |<resourc|es>. |
|00000d70| 20 20 3c 73 74 79 6c 65 | 73 68 65 65 74 20 73 72 | <style|sheet sr|
|00000d80| 63 3d 22 63 68 72 6f 6d | 65 3a 2f 2f 78 62 6c 2d |c="chrom|e://xbl-|
|00000d90| 6d 61 72 71 75 65 65 2f | 63 6f 6e 74 65 6e 74 2f |marquee/|content/|
|00000da0| 78 62 6c 2d 6d 61 72 71 | 75 65 65 2e 63 73 73 22 |xbl-marq|uee.css"|
|00000db0| 2f 3e 0a 20 20 20 20 3c | 2f 72 65 73 6f 75 72 63 |/>. <|/resourc|
|00000dc0| 65 73 3e 0a 20 20 20 20 | 3c 69 6d 70 6c 65 6d 65 |es>. |<impleme|
|00000dd0| 6e 74 61 74 69 6f 6e 3e | 0a 0a 20 20 20 20 20 20 |ntation>|.. |
|00000de0| 3c 66 69 65 6c 64 20 6e | 61 6d 65 3d 22 64 65 66 |<field n|ame="def|
|00000df0| 61 75 6c 74 53 63 72 6f | 6c 6c 41 6d 6f 75 6e 74 |aultScro|llAmount|
|00000e00| 22 3e 36 3c 2f 66 69 65 | 6c 64 3e 0a 20 20 20 20 |">6</fie|ld>. |
|00000e10| 20 20 3c 70 72 6f 70 65 | 72 74 79 20 6e 61 6d 65 | <prope|rty name|
|00000e20| 3d 22 73 63 72 6f 6c 6c | 41 6d 6f 75 6e 74 22 3e |="scroll|Amount">|
|00000e30| 0a 20 20 20 20 20 20 20 | 20 3c 67 65 74 74 65 72 |. | <getter|
|00000e40| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 |>. | if (|
|00000e50| 74 68 69 73 2e 68 61 73 | 41 74 74 72 69 62 75 74 |this.has|Attribut|
|00000e60| 65 28 22 73 63 72 6f 6c | 6c 61 6d 6f 75 6e 74 22 |e("scrol|lamount"|
|00000e70| 29 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |)). | r|
|00000e80| 65 74 75 72 6e 20 74 68 | 69 73 2e 67 65 74 41 74 |eturn th|is.getAt|
|00000e90| 74 72 69 62 75 74 65 28 | 22 73 63 72 6f 6c 6c 61 |tribute(|"scrolla|
|00000ea0| 6d 6f 75 6e 74 22 29 3b | 0a 20 20 20 20 20 20 20 |mount");|. |
|00000eb0| 20 20 20 72 65 74 75 72 | 6e 20 74 68 69 73 2e 64 | retur|n this.d|
|00000ec0| 65 66 61 75 6c 74 53 63 | 72 6f 6c 6c 41 6d 6f 75 |efaultSc|rollAmou|
|00000ed0| 6e 74 3b 20 2f 2f 64 65 | 66 61 75 6c 74 20 76 61 |nt; //de|fault va|
|00000ee0| 6c 75 65 20 69 73 20 36 | 20 70 69 78 65 6c 73 0a |lue is 6| pixels.|
|00000ef0| 20 20 20 20 20 20 20 20 | 3c 2f 67 65 74 74 65 72 | |</getter|
|00000f00| 3e 0a 20 20 20 20 20 20 | 20 20 3c 73 65 74 74 65 |>. | <sette|
|00000f10| 72 3e 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |r>. | thi|
|00000f20| 73 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |s.setAtt|ribute("|
|00000f30| 73 63 72 6f 6c 6c 61 6d | 6f 75 6e 74 22 2c 20 76 |scrollam|ount", v|
|00000f40| 61 6c 29 3b 0a 20 20 20 | 20 20 20 20 20 3c 2f 73 |al);. | </s|
|00000f50| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 3c 2f 70 |etter>. | </p|
|00000f60| 72 6f 70 65 72 74 79 3e | 0a 0a 20 20 20 20 20 20 |roperty>|.. |
|00000f70| 3c 66 69 65 6c 64 20 6e | 61 6d 65 3d 22 64 65 66 |<field n|ame="def|
|00000f80| 61 75 6c 74 53 63 72 6f | 6c 6c 44 65 6c 61 79 22 |aultScro|llDelay"|
|00000f90| 3e 38 35 3c 2f 66 69 65 | 6c 64 3e 0a 20 20 20 20 |>85</fie|ld>. |
|00000fa0| 20 20 3c 70 72 6f 70 65 | 72 74 79 20 6e 61 6d 65 | <prope|rty name|
|00000fb0| 3d 22 73 63 72 6f 6c 6c | 44 65 6c 61 79 22 3e 0a |="scroll|Delay">.|
|00000fc0| 20 20 20 20 20 20 20 20 | 3c 67 65 74 74 65 72 3e | |<getter>|
|00000fd0| 0a 20 20 20 20 20 20 20 | 20 20 20 3c 21 5b 43 44 |. | <![CD|
|00000fe0| 41 54 41 5b 0a 20 20 20 | 20 20 20 20 20 20 20 76 |ATA[. | v|
|00000ff0| 61 72 20 72 76 20 3d 20 | 74 68 69 73 2e 64 65 66 |ar rv = |this.def|
|00001000| 61 75 6c 74 53 63 72 6f | 6c 6c 44 65 6c 61 79 3b |aultScro|llDelay;|
|00001010| 20 2f 2f 64 65 66 61 75 | 6c 74 20 76 61 6c 75 65 | //defau|lt value|
|00001020| 20 69 73 20 38 35 20 6d | 73 0a 0a 20 20 20 20 20 | is 85 m|s.. |
|00001030| 20 20 20 20 20 69 66 20 | 28 74 68 69 73 2e 68 61 | if |(this.ha|
|00001040| 73 41 74 74 72 69 62 75 | 74 65 28 22 73 63 72 6f |sAttribu|te("scro|
|00001050| 6c 6c 64 65 6c 61 79 22 | 29 29 20 7b 0a 20 20 20 |lldelay"|)) {. |
|00001060| 20 20 20 20 20 20 20 20 | 20 72 76 20 3d 20 74 68 | | rv = th|
|00001070| 69 73 2e 67 65 74 41 74 | 74 72 69 62 75 74 65 28 |is.getAt|tribute(|
|00001080| 22 73 63 72 6f 6c 6c 64 | 65 6c 61 79 22 29 3b 0a |"scrolld|elay");.|
|00001090| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 6d |. | //m|
|000010a0| 61 72 71 75 65 65 20 64 | 6f 65 73 6e 27 74 20 61 |arquee d|oesn't a|
|000010b0| 6c 6c 6f 77 20 61 6e 79 | 74 68 69 6e 67 20 73 68 |llow any|thing sh|
|000010c0| 6f 72 74 65 72 20 74 68 | 61 6e 20 34 30 20 6d 73 |orter th|an 40 ms|
|000010d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |. | if |
|000010e0| 28 72 76 20 3c 20 34 30 | 29 0a 20 20 20 20 20 20 |(rv < 40|). |
|000010f0| 20 20 20 20 20 20 20 20 | 72 76 20 3d 20 34 30 3b | |rv = 40;|
|00001100| 0a 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 |. | }. |
|00001110| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 72 76 | r|eturn rv|
|00001120| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 5d 5d 3e 0a |;. | ]]>.|
|00001130| 20 20 20 20 20 20 20 20 | 3c 2f 67 65 74 74 65 72 | |</getter|
|00001140| 3e 0a 20 20 20 20 20 20 | 20 20 3c 73 65 74 74 65 |>. | <sette|
|00001150| 72 3e 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |r>. | thi|
|00001160| 73 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |s.setAtt|ribute("|
|00001170| 73 63 72 6f 6c 6c 64 65 | 6c 61 79 22 2c 20 76 61 |scrollde|lay", va|
|00001180| 6c 29 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 2f |l);.. | /|
|00001190| 2f 20 73 69 6e 63 65 20 | 77 65 20 63 68 61 6e 67 |/ since |we chang|
|000011a0| 65 64 20 74 68 65 20 73 | 63 72 6f 6c 6c 64 65 6c |ed the s|crolldel|
|000011b0| 61 79 2c 20 72 65 73 74 | 61 72 74 20 74 68 65 20 |ay, rest|art the |
|000011c0| 6d 61 72 71 75 65 65 0a | 20 20 20 20 20 20 20 20 |marquee.| |
|000011d0| 20 20 74 68 69 73 2e 5f | 64 6f 4d 6f 76 65 28 66 | this._|doMove(f|
|000011e0| 61 6c 73 65 29 3b 0a 20 | 20 20 20 20 20 20 20 3c |alse);. | <|
|000011f0| 2f 73 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 3c |/setter>|. <|
|00001200| 2f 70 72 6f 70 65 72 74 | 79 3e 0a 0a 20 20 20 20 |/propert|y>.. |
|00001210| 20 20 3c 66 69 65 6c 64 | 20 6e 61 6d 65 3d 22 64 | <field| name="d|
|00001220| 65 66 61 75 6c 74 44 69 | 72 65 63 74 69 6f 6e 22 |efaultDi|rection"|
|00001230| 3e 22 6c 65 66 74 22 3c | 2f 66 69 65 6c 64 3e 0a |>"left"<|/field>.|
|00001240| 20 20 20 20 20 20 3c 70 | 72 6f 70 65 72 74 79 20 | <p|roperty |
|00001250| 6e 61 6d 65 3d 22 64 69 | 72 65 63 74 69 6f 6e 22 |name="di|rection"|
|00001260| 3e 0a 20 20 20 20 20 20 | 20 20 3c 67 65 74 74 65 |>. | <gette|
|00001270| 72 3e 0a 20 20 20 20 20 | 20 20 20 20 20 72 65 74 |r>. | ret|
|00001280| 75 72 6e 20 74 68 69 73 | 2e 64 69 72 65 63 74 69 |urn this|.directi|
|00001290| 6f 6e 46 69 65 6c 64 3b | 0a 20 20 20 20 20 20 20 |onField;|. |
|000012a0| 20 3c 2f 67 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | </gette|r>. |
|000012b0| 20 20 20 3c 73 65 74 74 | 65 72 3e 0a 20 20 20 20 | <sett|er>. |
|000012c0| 20 20 20 20 20 20 2f 2f | 20 69 66 20 76 61 6c 20 | //| if val |
|000012d0| 69 73 20 66 61 6c 73 65 | 2c 20 64 6f 6e 27 74 20 |is false|, don't |
|000012e0| 63 68 61 6e 67 65 20 61 | 6e 79 74 68 69 6e 67 0a |change a|nything.|
|000012f0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 76 61 | | if (va|
|00001300| 6c 29 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |l) {. | |
|00001310| 20 2f 2f 20 69 6e 20 63 | 61 73 65 20 64 69 72 65 | // in c|ase dire|
|00001320| 63 74 69 6f 6e 20 69 73 | 20 73 77 61 70 70 65 64 |ction is| swapped|
|00001330| 20 62 65 74 77 65 65 6e | 20 68 6f 72 69 7a 6f 6e | between| horizon|
|00001340| 74 61 6c 2f 76 65 72 74 | 69 63 61 6c 2c 20 75 73 |tal/vert|ical, us|
|00001350| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f |e. | //|
|00001360| 20 73 65 74 41 74 74 72 | 69 62 75 74 65 20 74 6f | setAttr|ibute to|
|00001370| 20 6d 61 6b 65 20 74 68 | 65 20 78 62 6c 20 62 69 | make th|e xbl bi|
|00001380| 6e 64 69 6e 67 73 20 63 | 68 61 6e 67 65 2e 0a 20 |ndings c|hange.. |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|000013a0| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 64 69 |setAttri|bute("di|
|000013b0| 72 65 63 74 69 6f 6e 22 | 2c 20 76 61 6c 29 3b 0a |rection"|, val);.|
|000013c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 |. | // |
|000013d0| 73 69 6e 63 65 20 77 65 | 20 63 68 61 6e 67 65 64 |since we| changed|
|000013e0| 20 74 68 65 20 64 69 72 | 65 63 74 69 6f 6e 2c 20 | the dir|ection, |
|000013f0| 73 65 74 20 73 74 61 72 | 74 4e 65 77 44 69 72 65 |set star|tNewDire|
|00001400| 63 74 69 6f 6e 20 74 6f | 20 74 72 75 65 0a 20 20 |ction to| true. |
|00001410| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 73 | | this.s|
|00001420| 74 61 72 74 4e 65 77 44 | 69 72 65 63 74 69 6f 6e |tartNewD|irection|
|00001430| 20 3d 20 74 72 75 65 3b | 0a 20 20 20 20 20 20 20 | = true;|. |
|00001440| 20 20 20 20 20 74 68 69 | 73 2e 64 69 72 65 63 74 | thi|s.direct|
|00001450| 69 6f 6e 46 69 65 6c 64 | 20 3d 20 76 61 6c 2e 74 |ionField| = val.t|
|00001460| 6f 4c 6f 77 65 72 43 61 | 73 65 28 29 3b 0a 0a 20 |oLowerCa|se();.. |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 70 61 | | // pa|
|00001480| 73 73 20 69 6e 20 61 53 | 6b 69 70 53 65 74 74 69 |ss in aS|kipSetti|
|00001490| 6e 67 4e 65 77 50 6f 73 | 69 74 69 6f 6e 20 61 73 |ngNewPos|ition as|
|000014a0| 20 74 72 75 65 0a 20 20 | 20 20 20 20 20 20 20 20 | true. | |
|000014b0| 20 20 74 68 69 73 2e 5f | 64 6f 4d 6f 76 65 28 74 | this._|doMove(t|
|000014c0| 72 75 65 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |rue);. | |
|000014d0| 7d 0a 20 20 20 20 20 20 | 20 20 3c 2f 73 65 74 74 |}. | </sett|
|000014e0| 65 72 3e 0a 20 20 20 20 | 20 20 3c 2f 70 72 6f 70 |er>. | </prop|
|000014f0| 65 72 74 79 3e 0a 0a 20 | 20 20 20 20 20 3c 66 69 |erty>.. | <fi|
|00001500| 65 6c 64 20 6e 61 6d 65 | 3d 22 64 69 72 65 63 74 |eld name|="direct|
|00001510| 69 6f 6e 46 69 65 6c 64 | 22 3e 22 6c 65 66 74 22 |ionField|">"left"|
|00001520| 3c 2f 66 69 65 6c 64 3e | 0a 0a 20 20 20 20 20 20 |</field>|.. |
|00001530| 3c 66 69 65 6c 64 20 6e | 61 6d 65 3d 22 64 65 66 |<field n|ame="def|
|00001540| 61 75 6c 74 42 65 68 61 | 76 69 6f 72 22 3e 22 73 |aultBeha|vior">"s|
|00001550| 63 72 6f 6c 6c 22 3c 2f | 66 69 65 6c 64 3e 0a 20 |croll"</|field>. |
|00001560| 20 20 20 20 20 3c 70 72 | 6f 70 65 72 74 79 20 6e | <pr|operty n|
|00001570| 61 6d 65 3d 22 62 65 68 | 61 76 69 6f 72 22 3e 0a |ame="beh|avior">.|
|00001580| 20 20 20 20 20 20 20 20 | 3c 67 65 74 74 65 72 3e | |<getter>|
|00001590| 0a 20 20 20 20 20 20 20 | 20 20 20 72 65 74 75 72 |. | retur|
|000015a0| 6e 20 74 68 69 73 2e 62 | 65 68 61 76 69 6f 72 46 |n this.b|ehaviorF|
|000015b0| 69 65 6c 64 3b 0a 20 20 | 20 20 20 20 20 20 3c 2f |ield;. | </|
|000015c0| 67 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 20 20 |getter>.| |
|000015d0| 3c 73 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 20 |<setter>|. |
|000015e0| 20 20 20 74 68 69 73 2e | 62 65 68 61 76 69 6f 72 | this.|behavior|
|000015f0| 46 69 65 6c 64 20 3d 20 | 76 61 6c 20 3f 20 76 61 |Field = |val ? va|
|00001600| 6c 2e 74 6f 4c 6f 77 65 | 72 43 61 73 65 28 29 20 |l.toLowe|rCase() |
|00001610| 3a 20 74 68 69 73 2e 64 | 65 66 61 75 6c 74 42 65 |: this.d|efaultBe|
|00001620| 68 61 76 69 6f 72 3b 0a | 20 20 20 20 20 20 20 20 |havior;.| |
|00001630| 3c 2f 73 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</setter|>. |
|00001640| 3c 2f 70 72 6f 70 65 72 | 74 79 3e 0a 0a 20 20 20 |</proper|ty>.. |
|00001650| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00001660| 62 65 68 61 76 69 6f 72 | 46 69 65 6c 64 22 3e 22 |behavior|Field">"|
|00001670| 73 63 72 6f 6c 6c 22 3c | 2f 66 69 65 6c 64 3e 0a |scroll"<|/field>.|
|00001680| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00001690| 6d 65 3d 22 64 69 72 73 | 69 67 6e 22 3e 31 3c 2f |me="dirs|ign">1</|
|000016a0| 66 69 65 6c 64 3e 0a 20 | 20 20 20 20 20 3c 66 69 |field>. | <fi|
|000016b0| 65 6c 64 20 6e 61 6d 65 | 3d 22 73 74 61 72 74 41 |eld name|="startA|
|000016c0| 74 22 3e 30 3c 2f 66 69 | 65 6c 64 3e 0a 20 20 20 |t">0</fi|eld>. |
|000016d0| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|000016e0| 73 74 6f 70 41 74 22 3e | 30 3c 2f 66 69 65 6c 64 |stopAt">|0</field|
|000016f0| 3e 0a 20 20 20 20 20 20 | 3c 66 69 65 6c 64 20 6e |>. |<field n|
|00001700| 61 6d 65 3d 22 6e 65 77 | 50 6f 73 69 74 69 6f 6e |ame="new|Position|
|00001710| 22 3e 30 3c 2f 66 69 65 | 6c 64 3e 0a 20 20 20 20 |">0</fie|ld>. |
|00001720| 20 20 3c 66 69 65 6c 64 | 20 6e 61 6d 65 3d 22 72 | <field| name="r|
|00001730| 75 6e 49 64 22 3e 30 3c | 2f 66 69 65 6c 64 3e 0a |unId">0<|/field>.|
|00001740| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00001750| 6d 65 3d 22 6f 72 69 67 | 69 6e 61 6c 48 65 69 67 |me="orig|inalHeig|
|00001760| 68 74 22 3e 30 3c 2f 66 | 69 65 6c 64 3e 0a 20 20 |ht">0</f|ield>. |
|00001770| 20 20 20 20 3c 66 69 65 | 6c 64 20 6e 61 6d 65 3d | <fie|ld name=|
|00001780| 22 73 74 61 72 74 4e 65 | 77 44 69 72 65 63 74 69 |"startNe|wDirecti|
|00001790| 6f 6e 22 3e 74 72 75 65 | 3c 2f 66 69 65 6c 64 3e |on">true|</field>|
|000017a0| 0a 0a 20 20 20 20 20 20 | 3c 70 72 6f 70 65 72 74 |.. |<propert|
|000017b0| 79 20 6e 61 6d 65 3d 22 | 6f 75 74 65 72 44 69 76 |y name="|outerDiv|
|000017c0| 22 0a 20 20 20 20 20 20 | 20 20 6f 6e 67 65 74 3d |". | onget=|
|000017d0| 22 72 65 74 75 72 6e 20 | 64 6f 63 75 6d 65 6e 74 |"return |document|
|000017e0| 2e 67 65 74 41 6e 6f 6e | 79 6d 6f 75 73 4e 6f 64 |.getAnon|ymousNod|
|000017f0| 65 73 28 74 68 69 73 29 | 5b 30 5d 22 0a 20 20 20 |es(this)|[0]". |
|00001800| 20 20 20 2f 3e 0a 0a 20 | 20 20 20 20 20 3c 70 72 | />.. | <pr|
|00001810| 6f 70 65 72 74 79 20 6e | 61 6d 65 3d 22 69 6e 6e |operty n|ame="inn|
|00001820| 65 72 44 69 76 22 0a 20 | 20 20 20 20 20 20 20 6f |erDiv". | o|
|00001830| 6e 67 65 74 3d 22 72 65 | 74 75 72 6e 20 64 6f 63 |nget="re|turn doc|
|00001840| 75 6d 65 6e 74 2e 67 65 | 74 41 6e 6f 6e 79 6d 6f |ument.ge|tAnonymo|
|00001850| 75 73 45 6c 65 6d 65 6e | 74 42 79 41 74 74 72 69 |usElemen|tByAttri|
|00001860| 62 75 74 65 28 74 68 69 | 73 2c 20 27 61 6e 6f 6e |bute(thi|s, 'anon|
|00001870| 69 64 27 2c 20 27 69 6e | 6e 65 72 44 69 76 27 29 |id', 'in|nerDiv')|
|00001880| 3b 22 0a 20 20 20 20 20 | 20 2f 3e 0a 0a 20 20 20 |;". | />.. |
|00001890| 20 20 20 3c 70 72 6f 70 | 65 72 74 79 20 6e 61 6d | <prop|erty nam|
|000018a0| 65 3d 22 68 65 69 67 68 | 74 22 0a 20 20 20 20 20 |e="heigh|t". |
|000018b0| 20 20 20 6f 6e 67 65 74 | 3d 22 72 65 74 75 72 6e | onget|="return|
|000018c0| 20 74 68 69 73 2e 67 65 | 74 41 74 74 72 69 62 75 | this.ge|tAttribu|
|000018d0| 74 65 28 27 68 65 69 67 | 68 74 27 29 3b 22 0a 20 |te('heig|ht');". |
|000018e0| 20 20 20 20 20 2f 3e 0a | 0a 20 20 20 20 20 20 3c | />.|. <|
|000018f0| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 77 |property| name="w|
|00001900| 69 64 74 68 22 3e 0a 20 | 20 20 20 20 20 20 20 3c |idth">. | <|
|00001910| 67 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 20 20 |getter>.| |
|00001920| 20 20 3c 21 5b 43 44 41 | 54 41 5b 0a 20 20 20 20 | <![CDA|TA[. |
|00001930| 20 20 20 20 20 20 76 61 | 72 20 72 76 20 3d 20 22 | va|r rv = "|
|00001940| 31 70 78 22 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |1px";. | |
|00001950| 69 66 20 28 74 68 69 73 | 2e 68 61 73 41 74 74 72 |if (this|.hasAttr|
|00001960| 69 62 75 74 65 28 22 77 | 69 64 74 68 22 29 29 0a |ibute("w|idth")).|
|00001970| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 76 20 3d | | rv =|
|00001980| 20 74 68 69 73 2e 67 65 | 74 41 74 74 72 69 62 75 | this.ge|tAttribu|
|00001990| 74 65 28 22 77 69 64 74 | 68 22 29 3b 0a 20 20 20 |te("widt|h");. |
|000019a0| 20 20 20 20 20 20 20 65 | 6c 73 65 20 69 66 20 28 | e|lse if (|
|000019b0| 74 68 69 73 2e 6f 66 66 | 73 65 74 57 69 64 74 68 |this.off|setWidth|
|000019c0| 29 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |) {. | |
|000019d0| 2f 2f 20 69 66 20 74 68 | 65 20 65 6c 65 6d 65 6e |// if th|e elemen|
|000019e0| 74 20 68 61 73 20 61 6e | 20 6f 66 66 73 65 74 57 |t has an| offsetW|
|000019f0| 69 64 74 68 2c 20 64 6f | 6e 27 74 20 73 65 74 20 |idth, do|n't set |
|00001a00| 61 20 77 69 64 74 68 0a | 20 20 20 20 20 20 20 20 |a width.| |
|00001a10| 20 20 20 20 72 76 20 3d | 20 22 22 3b 0a 20 20 20 | rv =| "";. |
|00001a20| 20 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 69 66 | }| else if|
|00001a30| 20 28 74 68 69 73 2e 6f | 66 66 73 65 74 50 61 72 | (this.o|ffsetPar|
|00001a40| 65 6e 74 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |ent) {. | |
|00001a50| 20 20 20 76 61 72 20 6d | 79 45 6c 65 6d 20 3d 20 | var m|yElem = |
|00001a60| 74 68 69 73 2e 6f 66 66 | 73 65 74 50 61 72 65 6e |this.off|setParen|
|00001a70| 74 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |t;.. | |
|00001a80| 2f 2f 20 6c 65 74 73 20 | 77 61 6c 6b 20 75 70 20 |// lets |walk up |
|00001a90| 74 68 65 20 6f 66 66 73 | 65 74 50 61 72 65 6e 74 |the offs|etParent|
|00001aa0| 20 74 72 65 65 20 6c 6f | 6f 6b 69 6e 67 20 66 6f | tree lo|oking fo|
|00001ab0| 72 20 61 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r an. | |
|00001ac0| 20 2f 2f 20 65 6c 65 6d | 65 6e 74 20 77 69 74 68 | // elem|ent with|
|00001ad0| 20 61 20 77 69 64 74 68 | 2e 0a 0a 20 20 20 20 20 | a width|... |
|00001ae0| 20 20 20 20 20 20 20 77 | 68 69 6c 65 20 28 6d 79 | w|hile (my|
|00001af0| 45 6c 65 6d 2e 6f 66 66 | 73 65 74 50 61 72 65 6e |Elem.off|setParen|
|00001b00| 74 20 26 26 20 28 6d 79 | 45 6c 65 6d 2e 6f 66 66 |t && (my|Elem.off|
|00001b10| 73 65 74 57 69 64 74 68 | 20 3c 3d 20 30 29 29 0a |setWidth| <= 0)).|
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 79 | | my|
|00001b30| 45 6c 65 6d 20 3d 20 6d | 79 45 6c 65 6d 2e 6f 66 |Elem = m|yElem.of|
|00001b40| 66 73 65 74 50 61 72 65 | 6e 74 3b 0a 0a 20 20 20 |fsetPare|nt;.. |
|00001b50| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 6d 79 45 | | if (myE|
|00001b60| 6c 65 6d 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |lem). | |
|00001b70| 20 20 20 72 76 20 3d 20 | 6d 79 45 6c 65 6d 2e 6f | rv = |myElem.o|
|00001b80| 66 66 73 65 74 57 69 64 | 74 68 20 2b 20 22 70 78 |ffsetWid|th + "px|
|00001b90| 22 3b 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 0a |";. | }..|
|00001ba0| 20 20 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e | | return|
|00001bb0| 20 72 76 3b 0a 20 20 20 | 20 20 20 20 20 20 20 5d | rv;. | ]|
|00001bc0| 5d 3e 0a 20 20 20 20 20 | 20 20 20 3c 2f 67 65 74 |]>. | </get|
|00001bd0| 74 65 72 3e 0a 20 20 20 | 20 20 20 3c 2f 70 72 6f |ter>. | </pro|
|00001be0| 70 65 72 74 79 3e 0a 0a | 20 20 20 20 20 20 3c 21 |perty>..| <!|
|00001bf0| 2d 2d 20 46 6f 72 20 73 | 6e 69 66 66 69 6e 67 20 |-- For s|niffing |
|00001c00| 70 75 72 70 6f 73 65 73 | 20 2d 2d 3e 0a 20 20 20 |purposes| -->. |
|00001c10| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00001c20| 6e 73 4d 61 72 71 75 65 | 65 56 65 72 73 69 6f 6e |nsMarque|eVersion|
|00001c30| 22 3e 22 30 2e 39 2e 37 | 22 3c 2f 66 69 65 6c 64 |">"0.9.7|"</field|
|00001c40| 3e 0a 0a 20 20 20 20 20 | 20 3c 6d 65 74 68 6f 64 |>.. | <method|
|00001c50| 20 6e 61 6d 65 3d 22 73 | 74 61 72 74 22 3e 0a 20 | name="s|tart">. |
|00001c60| 20 20 20 20 20 20 20 3c | 62 6f 64 79 3e 0a 20 20 | <|body>. |
|00001c70| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|00001c90| 64 6f 4d 6f 76 65 28 66 | 61 6c 73 65 29 3b 0a 20 |doMove(f|alse);. |
|00001ca0| 20 20 20 20 20 20 20 5d | 5d 3e 0a 20 20 20 20 20 | ]|]>. |
|00001cb0| 20 20 20 3c 2f 62 6f 64 | 79 3e 0a 20 20 20 20 20 | </bod|y>. |
|00001cc0| 20 3c 2f 6d 65 74 68 6f | 64 3e 0a 0a 20 20 20 20 | </metho|d>.. |
|00001cd0| 20 20 3c 6d 65 74 68 6f | 64 20 6e 61 6d 65 3d 22 | <metho|d name="|
|00001ce0| 73 74 6f 70 22 3e 0a 20 | 20 20 20 20 20 20 20 3c |stop">. | <|
|00001cf0| 62 6f 64 79 3e 0a 20 20 | 20 20 20 20 20 20 3c 21 |body>. | <!|
|00001d00| 5b 43 44 41 54 41 5b 0a | 20 20 20 20 20 20 20 20 |[CDATA[.| |
|00001d10| 20 20 69 66 20 28 74 68 | 69 73 2e 72 75 6e 49 64 | if (th|is.runId|
|00001d20| 20 21 3d 20 30 29 0a 20 | 20 20 20 20 20 20 20 20 | != 0). | |
|00001d30| 20 20 20 63 6c 65 61 72 | 54 69 6d 65 6f 75 74 28 | clear|Timeout(|
|00001d40| 74 68 69 73 2e 72 75 6e | 49 64 29 3b 0a 0a 20 20 |this.run|Id);.. |
|00001d50| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 72 75 6e | |this.run|
|00001d60| 49 64 20 3d 20 30 3b 0a | 20 20 20 20 20 20 20 20 |Id = 0;.| |
|00001d70| 5d 5d 3e 0a 20 20 20 20 | 20 20 20 20 3c 2f 62 6f |]]>. | </bo|
|00001d80| 64 79 3e 0a 20 20 20 20 | 20 20 3c 2f 6d 65 74 68 |dy>. | </meth|
|00001d90| 6f 64 3e 0a 0a 20 20 20 | 20 20 20 3c 6d 65 74 68 |od>.. | <meth|
|00001da0| 6f 64 20 6e 61 6d 65 3d | 22 5f 64 6f 4d 6f 76 65 |od name=|"_doMove|
|00001db0| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 70 61 72 61 |">. | <para|
|00001dc0| 6d 65 74 65 72 20 6e 61 | 6d 65 3d 22 61 53 6b 69 |meter na|me="aSki|
|00001dd0| 70 53 65 74 74 69 6e 67 | 4e 65 77 50 6f 73 69 74 |pSetting|NewPosit|
|00001de0| 69 6f 6e 22 2f 3e 0a 20 | 20 20 20 20 20 20 20 3c |ion"/>. | <|
|00001df0| 62 6f 64 79 3e 0a 20 20 | 20 20 20 20 20 20 3c 21 |body>. | <!|
|00001e00| 5b 43 44 41 54 41 5b 0a | 0a 20 20 20 20 20 20 20 |[CDATA[.|. |
|00001e10| 20 20 20 74 68 69 73 2e | 73 74 6f 70 28 29 3b 0a | this.|stop();.|
|00001e20| 0a 20 20 20 20 20 20 20 | 20 20 20 2f 2f 73 74 61 |. | //sta|
|00001e30| 72 74 4e 65 77 44 69 72 | 65 63 74 69 6f 6e 20 69 |rtNewDir|ection i|
|00001e40| 73 20 74 72 75 65 20 61 | 74 20 66 69 72 73 74 20 |s true a|t first |
|00001e50| 6c 6f 61 64 20 61 6e 64 | 20 77 68 65 6e 65 76 65 |load and| wheneve|
|00001e60| 72 20 74 68 65 20 64 69 | 72 65 63 74 69 6f 6e 20 |r the di|rection |
|00001e70| 69 73 20 63 68 61 6e 67 | 65 64 0a 20 20 20 20 20 |is chang|ed. |
|00001e80| 20 20 20 20 20 69 66 20 | 28 74 68 69 73 2e 73 74 | if |(this.st|
|00001e90| 61 72 74 4e 65 77 44 69 | 72 65 63 74 69 6f 6e 29 |artNewDi|rection)|
|00001ea0| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | {. | t|
|00001eb0| 68 69 73 2e 73 74 61 72 | 74 4e 65 77 44 69 72 65 |his.star|tNewDire|
|00001ec0| 63 74 69 6f 6e 20 3d 20 | 66 61 6c 73 65 3b 20 2f |ction = |false; /|
|00001ed0| 2f 77 65 20 6f 6e 6c 79 | 20 77 61 6e 74 20 74 68 |/we only| want th|
|00001ee0| 69 73 20 74 6f 20 72 75 | 6e 20 6f 6e 63 65 20 65 |is to ru|n once e|
|00001ef0| 76 65 72 79 20 73 63 72 | 6f 6c 6c 20 64 69 72 65 |very scr|oll dire|
|00001f00| 63 74 69 6f 6e 20 63 68 | 61 6e 67 65 0a 0a 20 20 |ction ch|ange.. |
|00001f10| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 28 74 | | if ((t|
|00001f20| 68 69 73 2e 64 69 72 65 | 63 74 69 6f 6e 46 69 65 |his.dire|ctionFie|
|00001f30| 6c 64 20 3d 3d 20 22 75 | 70 22 29 20 7c 7c 20 28 |ld == "u|p") || (|
|00001f40| 74 68 69 73 2e 64 69 72 | 65 63 74 69 6f 6e 46 69 |this.dir|ectionFi|
|00001f50| 65 6c 64 20 3d 3d 20 22 | 64 6f 77 6e 22 29 29 0a |eld == "|down")).|
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 0a 20 20 | | {. |
|00001f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 22 | | // "|
|00001f80| 22 2c 20 30 20 61 6e 64 | 20 65 6d 70 74 79 20 68 |", 0 and| empty h|
|00001f90| 65 69 67 68 74 20 73 68 | 6f 75 6c 64 20 64 65 66 |eight sh|ould def|
|00001fa0| 61 75 6c 74 20 74 6f 20 | 32 30 30 70 78 0a 20 20 |ault to |200px. |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 76 61 72 20 | | var |
|00001fc0| 68 65 69 67 68 74 20 3d | 0a 20 20 20 20 20 20 20 |height =|. |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 28 74 68 69 73 2e 67 | | (this.g|
|00001fe0| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 68 65 69 |etAttrib|ute("hei|
|00001ff0| 67 68 74 22 29 20 21 3d | 20 22 30 22 20 26 26 0a |ght") !=| "0" &&.|
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002010| 20 74 68 69 73 2e 67 65 | 74 41 74 74 72 69 62 75 | this.ge|tAttribu|
|00002020| 74 65 28 22 68 65 69 67 | 68 74 22 29 29 20 7c 7c |te("heig|ht")) |||
|00002030| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002040| 20 28 64 6f 63 75 6d 65 | 6e 74 2e 64 65 66 61 75 | (docume|nt.defau|
|00002050| 6c 74 56 69 65 77 2e 67 | 65 74 43 6f 6d 70 75 74 |ltView.g|etComput|
|00002060| 65 64 53 74 79 6c 65 28 | 74 68 69 73 2c 22 22 29 |edStyle(|this,"")|
|00002070| 2e 68 65 69 67 68 74 20 | 21 3d 20 22 30 70 78 22 |.height |!= "0px"|
|00002080| 20 26 26 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | &&. | |
|00002090| 20 20 20 20 20 64 6f 63 | 75 6d 65 6e 74 2e 64 65 | doc|ument.de|
|000020a0| 66 61 75 6c 74 56 69 65 | 77 2e 67 65 74 43 6f 6d |faultVie|w.getCom|
|000020b0| 70 75 74 65 64 53 74 79 | 6c 65 28 74 68 69 73 2c |putedSty|le(this,|
|000020c0| 22 22 29 2e 68 65 69 67 | 68 74 29 20 7c 7c 0a 20 |"").heig|ht) ||. |
|000020d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020e0| 22 32 30 30 70 78 22 3b | 0a 0a 20 20 20 20 20 20 |"200px";|.. |
|000020f0| 20 20 20 20 20 20 20 20 | 2f 2f 20 73 75 70 70 6f | |// suppo|
|00002100| 72 74 20 25 20 68 65 69 | 67 68 74 73 0a 20 20 20 |rt % hei|ghts. |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 2f | | if (/|
|00002120| 25 2f 2e 74 65 73 74 28 | 68 65 69 67 68 74 29 29 |%/.test(|height))|
|00002130| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|00002140| 20 20 20 68 65 69 67 68 | 74 20 3d 20 70 61 72 73 | heigh|t = pars|
|00002150| 65 49 6e 74 28 27 30 27 | 20 2b 20 68 65 69 67 68 |eInt('0'| + heigh|
|00002160| 74 2c 20 31 30 29 3b 0a | 20 20 20 20 20 20 20 20 |t, 10);.| |
|00002170| 20 20 20 20 20 20 20 20 | 68 65 69 67 68 74 20 3d | |height =|
|00002180| 20 28 68 65 69 67 68 74 | 2f 31 30 30 29 20 2a 20 | (height|/100) * |
|00002190| 74 68 69 73 2e 6f 75 74 | 65 72 44 69 76 2e 6f 66 |this.out|erDiv.of|
|000021a0| 66 73 65 74 48 65 69 67 | 68 74 3b 0a 20 20 20 20 |fsetHeig|ht;. |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 0a 20 20 20 | | }.. |
|000021c0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|000021d0| 6f 75 74 65 72 44 69 76 | 2e 73 74 79 6c 65 2e 68 |outerDiv|.style.h|
|000021e0| 65 69 67 68 74 20 3d 20 | 68 65 69 67 68 74 3b 0a |eight = |height;.|
|000021f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 |. | t|
|00002200| 68 69 73 2e 69 6e 6e 65 | 72 44 69 76 2e 73 74 79 |his.inne|rDiv.sty|
|00002210| 6c 65 2e 70 61 64 64 69 | 6e 67 20 3d 20 68 65 69 |le.paddi|ng = hei|
|00002220| 67 68 74 20 2b 20 22 20 | 30 22 3b 0a 20 20 20 20 |ght + " |0";. |
|00002230| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 69 | | this.i|
|00002240| 6e 6e 65 72 44 69 76 2e | 73 74 79 6c 65 2e 77 68 |nnerDiv.|style.wh|
|00002250| 69 74 65 53 70 61 63 65 | 20 3d 20 22 22 3b 0a 20 |iteSpace| = "";. |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|00002270| 20 20 20 20 20 20 20 20 | 20 65 6c 73 65 20 7b 0a | | else {.|
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00002290| 69 73 2e 6f 75 74 65 72 | 44 69 76 2e 73 74 79 6c |is.outer|Div.styl|
|000022a0| 65 2e 68 65 69 67 68 74 | 20 3d 20 22 22 3b 0a 0a |e.height| = "";..|
|000022b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|000022c0| 69 73 2e 69 6e 6e 65 72 | 44 69 76 2e 73 74 79 6c |is.inner|Div.styl|
|000022d0| 65 2e 70 61 64 64 69 6e | 67 20 3d 20 22 30 70 78 |e.paddin|g = "0px|
|000022e0| 22 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |";. | |
|000022f0| 20 74 68 69 73 2e 69 6e | 6e 65 72 44 69 76 2e 73 | this.in|nerDiv.s|
|00002300| 74 79 6c 65 2e 77 68 69 | 74 65 53 70 61 63 65 20 |tyle.whi|teSpace |
|00002310| 3d 20 22 6e 6f 77 72 61 | 70 22 3b 0a 20 20 20 20 |= "nowra|p";. |
|00002320| 20 20 20 20 20 20 20 20 | 7d 0a 0a 20 20 20 20 20 | |}.. |
|00002330| 20 20 20 20 20 20 20 73 | 77 69 74 63 68 20 28 74 | s|witch (t|
|00002340| 68 69 73 2e 64 69 72 65 | 63 74 69 6f 6e 46 69 65 |his.dire|ctionFie|
|00002350| 6c 64 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ld). | |
|00002360| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00002370| 63 61 73 65 20 22 75 70 | 22 3a 0a 20 20 20 20 20 |case "up|":. |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00002390| 64 69 72 73 69 67 6e 20 | 3d 20 31 3b 0a 20 20 20 |dirsign |= 1;. |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|000023b0| 73 2e 73 74 61 72 74 41 | 74 20 3d 20 28 74 68 69 |s.startA|t = (thi|
|000023c0| 73 2e 62 65 68 61 76 69 | 6f 72 46 69 65 6c 64 20 |s.behavi|orField |
|000023d0| 3d 3d 20 27 61 6c 74 65 | 72 6e 61 74 65 27 29 20 |== 'alte|rnate') |
|000023e0| 3f 20 74 68 69 73 2e 6f | 72 69 67 69 6e 61 6c 48 |? this.o|riginalH|
|000023f0| 65 69 67 68 74 20 3a 20 | 30 3b 0a 20 20 20 20 20 |eight : |0;. |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00002410| 73 74 6f 70 41 74 20 20 | 3d 20 74 68 69 73 2e 69 |stopAt |= this.i|
|00002420| 6e 6e 65 72 44 69 76 2e | 6f 66 66 73 65 74 48 65 |nnerDiv.|offsetHe|
|00002430| 69 67 68 74 20 2d 20 70 | 61 72 73 65 49 6e 74 28 |ight - p|arseInt(|
|00002440| 74 68 69 73 2e 6f 75 74 | 65 72 44 69 76 2e 73 74 |this.out|erDiv.st|
|00002450| 79 6c 65 2e 68 65 69 67 | 68 74 29 20 0a 20 20 20 |yle.heig|ht) . |
|00002460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 2d 20 28 28 | | - ((|
|00002480| 74 68 69 73 2e 62 65 68 | 61 76 69 6f 72 46 69 65 |this.beh|aviorFie|
|00002490| 6c 64 20 3d 3d 20 27 61 | 6c 74 65 72 6e 61 74 65 |ld == 'a|lternate|
|000024a0| 27 29 20 3f 20 74 68 69 | 73 2e 6f 72 69 67 69 6e |') ? thi|s.origin|
|000024b0| 61 6c 48 65 69 67 68 74 | 20 3a 20 30 29 3b 20 20 |alHeight| : 0); |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0a 20 20 | | . |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 72 65 61 | | brea|
|000024e0| 6b 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |k;.. | |
|000024f0| 20 20 63 61 73 65 20 22 | 64 6f 77 6e 22 3a 0a 20 | case "|down":. |
|00002500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00002510| 68 69 73 2e 64 69 72 73 | 69 67 6e 20 3d 20 2d 31 |his.dirs|ign = -1|
|00002520| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00002530| 20 20 74 68 69 73 2e 73 | 74 61 72 74 41 74 20 3d | this.s|tartAt =|
|00002540| 20 74 68 69 73 2e 69 6e | 6e 65 72 44 69 76 2e 6f | this.in|nerDiv.o|
|00002550| 66 66 73 65 74 48 65 69 | 67 68 74 20 2d 20 70 61 |ffsetHei|ght - pa|
|00002560| 72 73 65 49 6e 74 28 74 | 68 69 73 2e 6f 75 74 65 |rseInt(t|his.oute|
|00002570| 72 44 69 76 2e 73 74 79 | 6c 65 2e 68 65 69 67 68 |rDiv.sty|le.heigh|
|00002580| 74 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t). | |
|00002590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025a0| 20 20 2d 20 28 28 74 68 | 69 73 2e 62 65 68 61 76 | - ((th|is.behav|
|000025b0| 69 6f 72 46 69 65 6c 64 | 20 3d 3d 20 27 61 6c 74 |iorField| == 'alt|
|000025c0| 65 72 6e 61 74 65 27 29 | 20 3f 20 74 68 69 73 2e |ernate')| ? this.|
|000025d0| 6f 72 69 67 69 6e 61 6c | 48 65 69 67 68 74 20 3a |original|Height :|
|000025e0| 20 30 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 | 0);. | |
|000025f0| 20 20 20 20 20 74 68 69 | 73 2e 73 74 6f 70 41 74 | thi|s.stopAt|
|00002600| 20 20 3d 20 28 74 68 69 | 73 2e 62 65 68 61 76 69 | = (thi|s.behavi|
|00002610| 6f 72 46 69 65 6c 64 20 | 3d 3d 20 27 61 6c 74 65 |orField |== 'alte|
|00002620| 72 6e 61 74 65 27 29 20 | 3f 20 74 68 69 73 2e 6f |rnate') |? this.o|
|00002630| 72 69 67 69 6e 61 6c 48 | 65 69 67 68 74 20 3a 20 |riginalH|eight : |
|00002640| 30 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0;. | |
|00002650| 20 62 72 65 61 6b 3b 0a | 0a 20 20 20 20 20 20 20 | break;.|. |
|00002660| 20 20 20 20 20 20 20 63 | 61 73 65 20 22 72 69 67 | c|ase "rig|
|00002670| 68 74 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ht":. | |
|00002680| 20 20 20 20 20 74 68 69 | 73 2e 64 69 72 73 69 67 | thi|s.dirsig|
|00002690| 6e 20 3d 20 2d 31 3b 0a | 20 20 20 20 20 20 20 20 |n = -1;.| |
|000026a0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 74 6f | |this.sto|
|000026b0| 70 41 74 20 20 3d 20 28 | 74 68 69 73 2e 62 65 68 |pAt = (|this.beh|
|000026c0| 61 76 69 6f 72 46 69 65 | 6c 64 20 21 3d 20 27 61 |aviorFie|ld != 'a|
|000026d0| 6c 74 65 72 6e 61 74 65 | 27 29 20 3f 20 74 68 69 |lternate|') ? thi|
|000026e0| 73 2e 69 6e 6e 65 72 44 | 69 76 2e 6f 66 66 73 65 |s.innerD|iv.offse|
|000026f0| 74 4c 65 66 74 20 2d 20 | 74 68 69 73 2e 6f 75 74 |tLeft - |this.out|
|00002700| 65 72 44 69 76 2e 6f 66 | 66 73 65 74 57 69 64 74 |erDiv.of|fsetWidt|
|00002710| 68 20 3a 20 74 68 69 73 | 2e 69 6e 6e 65 72 44 69 |h : this|.innerDi|
|00002720| 76 2e 6f 66 66 73 65 74 | 57 69 64 74 68 3b 0a 20 |v.offset|Width;. |
|00002730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00002740| 68 69 73 2e 73 74 61 72 | 74 41 74 20 3d 20 74 68 |his.star|tAt = th|
|00002750| 69 73 2e 6f 75 74 65 72 | 44 69 76 2e 6f 66 66 73 |is.outer|Div.offs|
|00002760| 65 74 57 69 64 74 68 20 | 0a 20 20 20 20 20 20 20 |etWidth |. |
|00002770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002780| 20 20 20 20 20 20 20 20 | 2b 20 28 28 74 68 69 73 | |+ ((this|
|00002790| 2e 62 65 68 61 76 69 6f | 72 46 69 65 6c 64 20 21 |.behavio|rField !|
|000027a0| 3d 20 27 61 6c 74 65 72 | 6e 61 74 65 27 29 20 3f |= 'alter|nate') ?|
|000027b0| 20 28 74 68 69 73 2e 69 | 6e 6e 65 72 44 69 76 2e | (this.i|nnerDiv.|
|000027c0| 6f 66 66 73 65 74 57 69 | 64 74 68 20 2b 20 74 68 |offsetWi|dth + th|
|000027d0| 69 73 2e 73 74 6f 70 41 | 74 29 20 3a 20 30 29 3b |is.stopA|t) : 0);|
|000027e0| 20 20 20 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|000027f0| 20 20 62 72 65 61 6b 3b | 0a 0a 20 20 20 20 20 20 | break;|.. |
|00002800| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 22 6c 65 | |case "le|
|00002810| 66 74 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ft":. | |
|00002820| 20 20 20 64 65 66 61 75 | 6c 74 3a 0a 20 20 20 20 | defau|lt:. |
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00002840| 2e 64 69 72 73 69 67 6e | 20 3d 20 31 3b 0a 20 20 |.dirsign| = 1;. |
|00002850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00002860| 69 73 2e 73 74 61 72 74 | 41 74 20 3d 20 28 74 68 |is.start|At = (th|
|00002870| 69 73 2e 62 65 68 61 76 | 69 6f 72 46 69 65 6c 64 |is.behav|iorField|
|00002880| 20 21 3d 20 27 61 6c 74 | 65 72 6e 61 74 65 27 29 | != 'alt|ernate')|
|00002890| 20 3f 20 28 74 68 69 73 | 2e 69 6e 6e 65 72 44 69 | ? (this|.innerDi|
|000028a0| 76 2e 6f 66 66 73 65 74 | 4c 65 66 74 20 2d 20 74 |v.offset|Left - t|
|000028b0| 68 69 73 2e 6f 75 74 65 | 72 44 69 76 2e 6f 66 66 |his.oute|rDiv.off|
|000028c0| 73 65 74 57 69 64 74 68 | 29 20 3a 20 74 68 69 73 |setWidth|) : this|
|000028d0| 2e 69 6e 6e 65 72 44 69 | 76 2e 6f 66 66 73 65 74 |.innerDi|v.offset|
|000028e0| 57 69 64 74 68 3b 0a 20 | 20 20 20 20 20 20 20 20 |Width;. | |
|000028f0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 73 74 6f 70 | t|his.stop|
|00002900| 41 74 20 20 3d 20 74 68 | 69 73 2e 6f 75 74 65 72 |At = th|is.outer|
|00002910| 44 69 76 2e 6f 66 66 73 | 65 74 57 69 64 74 68 0a |Div.offs|etWidth.|
|00002920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2b | | +|
|00002940| 20 28 28 74 68 69 73 2e | 62 65 68 61 76 69 6f 72 | ((this.|behavior|
|00002950| 46 69 65 6c 64 20 21 3d | 20 27 61 6c 74 65 72 6e |Field !=| 'altern|
|00002960| 61 74 65 27 29 20 3f 20 | 28 74 68 69 73 2e 69 6e |ate') ? |(this.in|
|00002970| 6e 65 72 44 69 76 2e 6f | 66 66 73 65 74 57 69 64 |nerDiv.o|ffsetWid|
|00002980| 74 68 20 2b 20 74 68 69 | 73 2e 73 74 61 72 74 41 |th + thi|s.startA|
|00002990| 74 29 20 3a 20 30 29 3b | 0a 20 20 20 20 20 20 20 |t) : 0);|. |
|000029a0| 20 20 20 20 20 7d 0a 0a | 20 20 20 20 20 20 20 20 | }..| |
|000029b0| 20 20 20 20 2f 2f 20 69 | 66 20 74 68 65 20 64 69 | // i|f the di|
|000029c0| 72 65 63 74 69 6f 6e 20 | 61 74 74 72 69 62 75 74 |rection |attribut|
|000029d0| 65 20 69 73 20 63 68 61 | 6e 67 65 64 2c 20 64 6f |e is cha|nged, do|
|000029e0| 6e 27 74 20 72 65 73 65 | 74 20 74 68 65 20 73 74 |n't rese|t the st|
|000029f0| 61 72 74 69 6e 67 20 70 | 6f 73 69 74 69 6f 6e 0a |arting p|osition.|
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00002a10| 21 61 53 6b 69 70 53 65 | 74 74 69 6e 67 4e 65 77 |!aSkipSe|ttingNew|
|00002a20| 50 6f 73 69 74 69 6f 6e | 29 0a 20 20 20 20 20 20 |Position|). |
|00002a30| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 6e 65 77 | |this.new|
|00002a40| 50 6f 73 69 74 69 6f 6e | 20 3d 20 74 68 69 73 2e |Position| = this.|
|00002a50| 73 74 61 72 74 41 74 3b | 0a 20 20 20 20 20 20 20 |startAt;|. |
|00002a60| 20 20 20 7d 20 2f 2f 65 | 6e 64 20 69 66 0a 0a 20 | } //e|nd if.. |
|00002a70| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 6e 65 | | this.ne|
|00002a80| 77 50 6f 73 69 74 69 6f | 6e 20 3d 20 70 61 72 73 |wPositio|n = pars|
|00002a90| 65 49 6e 74 28 74 68 69 | 73 2e 6e 65 77 50 6f 73 |eInt(thi|s.newPos|
|00002aa0| 69 74 69 6f 6e 29 20 2b | 20 28 74 68 69 73 2e 64 |ition) +| (this.d|
|00002ab0| 69 72 73 69 67 6e 20 2a | 20 74 68 69 73 2e 73 63 |irsign *| this.sc|
|00002ac0| 72 6f 6c 6c 41 6d 6f 75 | 6e 74 29 3b 0a 0a 20 20 |rollAmou|nt);.. |
|00002ad0| 20 20 20 20 20 20 20 20 | 69 66 20 28 28 74 68 69 | |if ((thi|
|00002ae0| 73 2e 64 69 72 73 69 67 | 6e 20 3d 3d 20 31 20 26 |s.dirsig|n == 1 &|
|00002af0| 26 20 74 68 69 73 2e 6e | 65 77 50 6f 73 69 74 69 |& this.n|ewPositi|
|00002b00| 6f 6e 20 3e 20 74 68 69 | 73 2e 73 74 6f 70 41 74 |on > thi|s.stopAt|
|00002b10| 29 20 7c 7c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |) ||. | |
|00002b20| 20 20 20 28 74 68 69 73 | 2e 64 69 72 73 69 67 6e | (this|.dirsign|
|00002b30| 20 3d 3d 20 2d 31 20 26 | 26 20 74 68 69 73 2e 6e | == -1 &|& this.n|
|00002b40| 65 77 50 6f 73 69 74 69 | 6f 6e 20 3c 20 74 68 69 |ewPositi|on < thi|
|00002b50| 73 2e 73 74 6f 70 41 74 | 29 29 0a 20 20 20 20 20 |s.stopAt|)). |
|00002b60| 20 20 20 20 20 7b 0a 20 | 20 20 20 20 20 20 20 20 | {. | |
|00002b70| 20 20 20 69 66 20 28 74 | 68 69 73 2e 62 65 68 61 | if (t|his.beha|
|00002b80| 76 69 6f 72 46 69 65 6c | 64 20 3d 3d 20 22 61 6c |viorFiel|d == "al|
|00002b90| 74 65 72 6e 61 74 65 22 | 29 0a 20 20 20 20 20 20 |ternate"|). |
|00002ba0| 20 20 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 | {.| |
|00002bb0| 20 20 20 20 20 20 2f 2f | 20 6c 65 74 73 20 73 74 | //| lets st|
|00002bc0| 61 72 74 20 61 66 72 65 | 73 68 0a 20 20 20 20 20 |art afre|sh. |
|00002bd0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 73 74 | | this.st|
|00002be0| 61 72 74 4e 65 77 44 69 | 72 65 63 74 69 6f 6e 20 |artNewDi|rection |
|00002bf0| 3d 20 74 72 75 65 3b 0a | 0a 20 20 20 20 20 20 20 |= true;.|. |
|00002c00| 20 20 20 20 20 20 20 2f | 2f 20 73 77 61 70 20 64 | /|/ swap d|
|00002c10| 69 72 65 63 74 69 6f 6e | 0a 20 20 20 20 20 20 20 |irection|. |
|00002c20| 20 20 20 20 20 20 20 63 | 6f 6e 73 74 20 73 77 61 | c|onst swa|
|00002c30| 70 20 3d 20 7b 6c 65 66 | 74 3a 20 22 72 69 67 68 |p = {lef|t: "righ|
|00002c40| 74 22 2c 20 64 6f 77 6e | 3a 20 22 75 70 22 2c 20 |t", down|: "up", |
|00002c50| 75 70 3a 20 22 64 6f 77 | 6e 22 2c 20 72 69 67 68 |up: "dow|n", righ|
|00002c60| 74 3a 20 22 6c 65 66 74 | 22 7d 3b 0a 20 20 20 20 |t: "left|"};. |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 64 | | this.d|
|00002c80| 69 72 65 63 74 69 6f 6e | 46 69 65 6c 64 20 3d 20 |irection|Field = |
|00002c90| 73 77 61 70 5b 74 68 69 | 73 2e 64 69 72 65 63 74 |swap[thi|s.direct|
|00002ca0| 69 6f 6e 46 69 65 6c 64 | 5d 3b 0a 20 20 20 20 20 |ionField|];. |
|00002cb0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00002cc0| 20 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 | els|e. |
|00002cd0| 20 20 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 | {.| |
|00002ce0| 20 20 20 20 20 20 74 68 | 69 73 2e 6e 65 77 50 6f | th|is.newPo|
|00002cf0| 73 69 74 69 6f 6e 20 3d | 20 74 68 69 73 2e 73 74 |sition =| this.st|
|00002d00| 61 72 74 41 74 3b 0a 20 | 20 20 20 20 20 20 20 20 |artAt;. | |
|00002d10| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 7d | }. | }|
|00002d20| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 |.. | if (|
|00002d30| 21 74 68 69 73 2e 73 74 | 61 72 74 4e 65 77 44 69 |!this.st|artNewDi|
|00002d40| 72 65 63 74 69 6f 6e 29 | 20 7b 0a 20 20 20 20 20 |rection)| {. |
|00002d50| 20 20 20 20 20 20 20 69 | 66 20 28 28 74 68 69 73 | i|f ((this|
|00002d60| 2e 64 69 72 65 63 74 69 | 6f 6e 46 69 65 6c 64 20 |.directi|onField |
|00002d70| 3d 3d 20 22 75 70 22 29 | 20 7c 7c 20 28 74 68 69 |== "up")| || (thi|
|00002d80| 73 2e 64 69 72 65 63 74 | 69 6f 6e 46 69 65 6c 64 |s.direct|ionField|
|00002d90| 20 3d 3d 20 22 64 6f 77 | 6e 22 29 29 0a 20 20 20 | == "dow|n")). |
|00002da0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00002db0| 6f 75 74 65 72 44 69 76 | 2e 73 63 72 6f 6c 6c 54 |outerDiv|.scrollT|
|00002dc0| 6f 70 20 3d 20 74 68 69 | 73 2e 6e 65 77 50 6f 73 |op = thi|s.newPos|
|00002dd0| 69 74 69 6f 6e 3b 0a 20 | 20 20 20 20 20 20 20 20 |ition;. | |
|00002de0| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | else.| |
|00002df0| 20 20 20 20 20 20 74 68 | 69 73 2e 6f 75 74 65 72 | th|is.outer|
|00002e00| 44 69 76 2e 73 63 72 6f | 6c 6c 4c 65 66 74 20 3d |Div.scro|llLeft =|
|00002e10| 20 74 68 69 73 2e 6e 65 | 77 50 6f 73 69 74 69 6f | this.ne|wPositio|
|00002e20| 6e 3b 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 0a |n;. | }..|
|00002e30| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 6d 79 | | var my|
|00002e40| 54 68 69 73 20 3d 20 74 | 68 69 73 3b 0a 0a 20 20 |This = t|his;.. |
|00002e50| 20 20 20 20 20 20 20 20 | 76 61 72 20 6c 61 6d 62 | |var lamb|
|00002e60| 64 61 20 3d 20 66 75 6e | 63 74 69 6f 6e 20 6d 79 |da = fun|ction my|
|00002e70| 54 69 6d 65 4f 75 74 46 | 75 6e 63 74 69 6f 6e 28 |TimeOutF|unction(|
|00002e80| 29 7b 6d 79 54 68 69 73 | 2e 73 74 61 72 74 28 29 |){myThis|.start()|
|00002e90| 3b 7d 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |;}. | thi|
|00002ea0| 73 2e 72 75 6e 49 64 20 | 3d 20 77 69 6e 64 6f 77 |s.runId |= window|
|00002eb0| 2e 73 65 74 54 69 6d 65 | 6f 75 74 28 6c 61 6d 62 |.setTime|out(lamb|
|00002ec0| 64 61 2c 20 74 68 69 73 | 2e 73 63 72 6f 6c 6c 44 |da, this|.scrollD|
|00002ed0| 65 6c 61 79 29 3b 0a 20 | 20 20 20 20 20 20 20 5d |elay);. | ]|
|00002ee0| 5d 3e 0a 20 20 20 20 20 | 20 20 20 3c 2f 62 6f 64 |]>. | </bod|
|00002ef0| 79 3e 0a 20 20 20 20 20 | 20 3c 2f 6d 65 74 68 6f |y>. | </metho|
|00002f00| 64 3e 0a 0a 20 20 20 20 | 20 20 3c 6d 65 74 68 6f |d>.. | <metho|
|00002f10| 64 20 6e 61 6d 65 3d 22 | 69 6e 69 74 22 3e 0a 20 |d name="|init">. |
|00002f20| 20 20 20 20 20 20 20 3c | 62 6f 64 79 3e 0a 20 20 | <|body>. |
|00002f30| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00002f40| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 68 65 | | var he|
|00002f50| 69 67 68 74 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |ight;.. | |
|00002f60| 20 69 66 20 28 74 68 69 | 73 2e 68 61 73 41 74 74 | if (thi|s.hasAtt|
|00002f70| 72 69 62 75 74 65 28 27 | 68 65 69 67 68 74 27 29 |ribute('|height')|
|00002f80| 29 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |) {. | |
|00002f90| 68 65 69 67 68 74 20 3d | 20 74 68 69 73 2e 67 65 |height =| this.ge|
|00002fa0| 74 41 74 74 72 69 62 75 | 74 65 28 27 68 65 69 67 |tAttribu|te('heig|
|00002fb0| 68 74 27 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |ht');. | |
|00002fc0| 20 20 74 68 69 73 2e 6f | 75 74 65 72 44 69 76 2e | this.o|uterDiv.|
|00002fd0| 73 74 79 6c 65 2e 68 65 | 69 67 68 74 20 3d 20 68 |style.he|ight = h|
|00002fe0| 65 69 67 68 74 20 2b 20 | 22 70 78 22 3b 0a 20 20 |eight + |"px";. |
|00002ff0| 20 20 20 20 20 20 20 20 | 7d 0a 0a 20 20 20 20 20 | |}.. |
|00003000| 20 20 20 20 20 74 68 69 | 73 2e 6f 75 74 65 72 44 | thi|s.outerD|
|00003010| 69 76 2e 73 74 79 6c 65 | 2e 77 69 64 74 68 20 3d |iv.style|.width =|
|00003020| 20 74 68 69 73 2e 77 69 | 64 74 68 3b 0a 0a 20 20 | this.wi|dth;.. |
|00003030| 20 20 20 20 20 20 20 20 | 2f 2f 20 53 6f 6d 65 20 | |// Some |
|00003040| 73 69 74 65 73 20 61 63 | 63 65 73 73 20 74 68 65 |sites ac|cess the|
|00003050| 20 65 6c 65 6d 65 6e 74 | 20 76 69 61 20 74 68 65 | element| via the|
|00003060| 20 65 76 69 6c 20 49 45 | 20 77 61 79 20 6f 66 20 | evil IE| way of |
|00003070| 65 6c 65 6d 65 6e 74 49 | 44 2e 66 6f 6f 28 29 0a |elementI|D.foo().|
|00003080| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 74 68 | | if (th|
|00003090| 69 73 2e 68 61 73 41 74 | 74 72 69 62 75 74 65 28 |is.hasAt|tribute(|
|000030a0| 27 69 64 27 29 29 0a 20 | 20 20 20 20 20 20 20 20 |'id')). | |
|000030b0| 20 20 20 77 69 6e 64 6f | 77 5b 74 68 69 73 2e 67 | windo|w[this.g|
|000030c0| 65 74 41 74 74 72 69 62 | 75 74 65 28 27 69 64 27 |etAttrib|ute('id'|
|000030d0| 29 5d 20 3d 20 74 68 69 | 73 3b 0a 0a 20 20 20 20 |)] = thi|s;.. |
|000030e0| 20 20 20 20 20 20 2f 2f | 20 57 65 62 73 69 74 65 | //| Website|
|000030f0| 20 63 61 6e 20 64 65 66 | 69 6e 65 20 61 20 62 61 | can def|ine a ba|
|00003100| 63 6b 67 72 6f 75 6e 64 | 20 63 6f 6c 6f 72 20 76 |ckground| color v|
|00003110| 69 61 20 74 68 65 20 62 | 67 63 6f 6c 6f 72 20 61 |ia the b|gcolor a|
|00003120| 74 74 72 69 62 75 74 65 | 0a 20 20 20 20 20 20 20 |ttribute|. |
|00003130| 20 20 20 69 66 20 28 74 | 68 69 73 2e 68 61 73 41 | if (t|his.hasA|
|00003140| 74 74 72 69 62 75 74 65 | 28 22 62 67 63 6f 6c 6f |ttribute|("bgcolo|
|00003150| 72 22 29 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r")). | |
|00003160| 20 74 68 69 73 2e 6f 75 | 74 65 72 44 69 76 2e 73 | this.ou|terDiv.s|
|00003170| 74 79 6c 65 2e 62 61 63 | 6b 67 72 6f 75 6e 64 43 |tyle.bac|kgroundC|
|00003180| 6f 6c 6f 72 20 3d 20 74 | 68 69 73 2e 67 65 74 41 |olor = t|his.getA|
|00003190| 74 74 72 69 62 75 74 65 | 28 22 62 67 63 6f 6c 6f |ttribute|("bgcolo|
|000031a0| 72 22 29 3b 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |r");.. | |
|000031b0| 2f 2f 20 73 74 6f 72 65 | 20 74 68 65 20 6f 72 69 |// store| the ori|
|000031c0| 67 69 6e 61 6c 20 68 65 | 69 67 68 74 20 62 65 66 |ginal he|ight bef|
|000031d0| 6f 72 65 20 77 65 20 61 | 64 64 20 70 61 64 64 69 |ore we a|dd paddi|
|000031e0| 6e 67 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |ng. | thi|
|000031f0| 73 2e 6f 72 69 67 69 6e | 61 6c 48 65 69 67 68 74 |s.origin|alHeight|
|00003200| 20 3d 20 74 68 69 73 2e | 69 6e 6e 65 72 44 69 76 | = this.|innerDiv|
|00003210| 2e 6f 66 66 73 65 74 48 | 65 69 67 68 74 3b 0a 0a |.offsetH|eight;..|
|00003220| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|00003230| 64 6f 4d 6f 76 65 28 66 | 61 6c 73 65 29 3b 0a 20 |doMove(f|alse);. |
|00003240| 20 20 20 20 20 20 20 5d | 5d 3e 0a 20 20 20 20 20 | ]|]>. |
|00003250| 20 20 20 3c 2f 62 6f 64 | 79 3e 0a 20 20 20 20 20 | </bod|y>. |
|00003260| 20 3c 2f 6d 65 74 68 6f | 64 3e 0a 0a 20 20 20 20 | </metho|d>.. |
|00003270| 20 20 3c 63 6f 6e 73 74 | 72 75 63 74 6f 72 3e 0a | <const|ructor>.|
|00003280| 20 20 20 20 20 20 20 20 | 3c 21 5b 43 44 41 54 41 | |<![CDATA|
|00003290| 5b 0a 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 66 |[. | // f|
|000032a0| 6f 72 20 70 65 72 66 6f | 72 6d 61 6e 63 65 2c 20 |or perfo|rmance, |
|000032b0| 77 65 20 73 74 6f 72 65 | 20 74 68 65 20 6c 6f 77 |we store| the low|
|000032c0| 65 72 63 61 73 65 64 20 | 64 69 72 65 63 74 69 6f |ercased |directio|
|000032d0| 6e 2f 62 65 68 61 76 69 | 6f 72 20 69 6e 20 61 20 |n/behavi|or in a |
|000032e0| 66 69 65 6c 64 2e 0a 20 | 20 20 20 20 20 20 20 20 |field.. | |
|000032f0| 20 2f 2f 20 64 65 66 61 | 75 6c 74 20 74 6f 20 22 | // defa|ult to "|
|00003300| 6c 65 66 74 22 0a 20 20 | 20 20 20 20 20 20 20 20 |left". | |
|00003310| 74 68 69 73 2e 64 69 72 | 65 63 74 69 6f 6e 46 69 |this.dir|ectionFi|
|00003320| 65 6c 64 20 3d 20 74 68 | 69 73 2e 68 61 73 41 74 |eld = th|is.hasAt|
|00003330| 74 72 69 62 75 74 65 28 | 22 64 69 72 65 63 74 69 |tribute(|"directi|
|00003340| 6f 6e 22 29 20 3f 20 74 | 68 69 73 2e 67 65 74 41 |on") ? t|his.getA|
|00003350| 74 74 72 69 62 75 74 65 | 28 22 64 69 72 65 63 74 |ttribute|("direct|
|00003360| 69 6f 6e 22 29 2e 74 6f | 4c 6f 77 65 72 43 61 73 |ion").to|LowerCas|
|00003370| 65 28 29 20 3a 20 74 68 | 69 73 2e 64 65 66 61 75 |e() : th|is.defau|
|00003380| 6c 74 44 69 72 65 63 74 | 69 6f 6e 3b 0a 20 20 20 |ltDirect|ion;. |
|00003390| 20 20 20 20 20 20 20 0a | 20 20 20 20 20 20 20 20 | .| |
|000033a0| 20 20 2f 2f 20 64 65 66 | 61 75 6c 74 20 74 6f 20 | // def|ault to |
|000033b0| 22 73 63 72 6f 6c 6c 22 | 0a 20 20 20 20 20 20 20 |"scroll"|. |
|000033c0| 20 20 20 74 68 69 73 2e | 62 65 68 61 76 69 6f 72 | this.|behavior|
|000033d0| 46 69 65 6c 64 20 3d 20 | 74 68 69 73 2e 68 61 73 |Field = |this.has|
|000033e0| 41 74 74 72 69 62 75 74 | 65 28 22 62 65 68 61 76 |Attribut|e("behav|
|000033f0| 69 6f 72 22 29 20 3f 20 | 74 68 69 73 2e 67 65 74 |ior") ? |this.get|
|00003400| 41 74 74 72 69 62 75 74 | 65 28 22 62 65 68 61 76 |Attribut|e("behav|
|00003410| 69 6f 72 22 29 2e 74 6f | 4c 6f 77 65 72 43 61 73 |ior").to|LowerCas|
|00003420| 65 28 29 20 3a 20 74 68 | 69 73 2e 64 65 66 61 75 |e() : th|is.defau|
|00003430| 6c 74 42 65 68 61 76 69 | 6f 72 3b 0a 0a 20 20 20 |ltBehavi|or;.. |
|00003440| 20 20 20 20 20 20 20 76 | 61 72 20 6d 79 54 68 69 | v|ar myThi|
|00003450| 73 20 3d 20 74 68 69 73 | 3b 0a 20 20 20 20 20 20 |s = this|;. |
|00003460| 20 20 20 20 76 61 72 20 | 6c 61 6d 62 64 61 20 3d | var |lambda =|
|00003470| 20 66 75 6e 63 74 69 6f | 6e 20 6d 79 53 63 6f 70 | functio|n myScop|
|00003480| 65 46 75 6e 63 74 69 6f | 6e 28 29 20 7b 20 6d 79 |eFunctio|n() { my|
|00003490| 54 68 69 73 2e 69 6e 69 | 74 28 29 3b 20 7d 0a 0a |This.ini|t(); }..|
|000034a0| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 69 6e 69 | | // ini|
|000034b0| 74 20 6e 65 65 64 73 20 | 74 6f 20 62 65 20 72 75 |t needs |to be ru|
|000034c0| 6e 20 61 66 74 65 72 20 | 74 68 65 20 70 61 67 65 |n after |the page|
|000034d0| 20 68 61 73 20 6c 6f 61 | 64 65 64 20 69 6e 20 6f | has loa|ded in o|
|000034e0| 72 64 65 72 20 74 6f 20 | 63 61 6c 63 75 6c 61 74 |rder to |calculat|
|000034f0| 65 0a 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 74 |e. | // t|
|00003500| 68 65 20 63 6f 72 72 65 | 63 74 20 68 65 69 67 68 |he corre|ct heigh|
|00003510| 74 2f 77 69 64 74 68 0a | 20 20 20 20 20 20 20 20 |t/width.| |
|00003520| 20 20 77 69 6e 64 6f 77 | 2e 61 64 64 45 76 65 6e | window|.addEven|
|00003530| 74 4c 69 73 74 65 6e 65 | 72 28 22 6c 6f 61 64 22 |tListene|r("load"|
|00003540| 2c 20 6c 61 6d 62 64 61 | 2c 20 66 61 6c 73 65 29 |, lambda|, false)|
|00003550| 3b 0a 20 20 20 20 20 20 | 20 20 5d 5d 3e 0a 20 20 |;. | ]]>. |
|00003560| 20 20 20 20 3c 2f 63 6f | 6e 73 74 72 75 63 74 6f | </co|nstructo|
|00003570| 72 3e 0a 20 20 20 20 3c | 2f 69 6d 70 6c 65 6d 65 |r>. <|/impleme|
|00003580| 6e 74 61 74 69 6f 6e 3e | 0a 20 20 20 20 0a 20 20 |ntation>|. . |
|00003590| 20 20 3c 68 61 6e 64 6c | 65 72 73 3e 0a 20 20 20 | <handl|ers>. |
|000035a0| 20 20 20 3c 68 61 6e 64 | 6c 65 72 20 65 76 65 6e | <hand|ler even|
|000035b0| 74 3d 22 44 4f 4d 41 74 | 74 72 4d 6f 64 69 66 69 |t="DOMAt|trModifi|
|000035c0| 65 64 22 20 70 68 61 73 | 65 3d 22 74 61 72 67 65 |ed" phas|e="targe|
|000035d0| 74 22 3e 0a 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |t">. | <![C|
|000035e0| 44 41 54 41 5b 0a 20 20 | 20 20 20 20 20 20 76 61 |DATA[. | va|
|000035f0| 72 20 61 74 74 72 4e 61 | 6d 65 20 3d 20 65 76 65 |r attrNa|me = eve|
|00003600| 6e 74 2e 61 74 74 72 4e | 61 6d 65 2e 74 6f 4c 6f |nt.attrN|ame.toLo|
|00003610| 77 65 72 43 61 73 65 28 | 29 3b 0a 20 20 20 20 20 |werCase(|);. |
|00003620| 20 20 20 76 61 72 20 6f | 6c 64 56 61 6c 75 65 20 | var o|ldValue |
|00003630| 3d 20 65 76 65 6e 74 2e | 70 72 65 76 56 61 6c 75 |= event.|prevValu|
|00003640| 65 2e 74 6f 4c 6f 77 65 | 72 43 61 73 65 28 29 3b |e.toLowe|rCase();|
|00003650| 0a 20 20 20 20 20 20 20 | 20 76 61 72 20 6e 65 77 |. | var new|
|00003660| 56 61 6c 75 65 20 3d 20 | 65 76 65 6e 74 2e 6e 65 |Value = |event.ne|
|00003670| 77 56 61 6c 75 65 2e 74 | 6f 4c 6f 77 65 72 43 61 |wValue.t|oLowerCa|
|00003680| 73 65 28 29 3b 0a 0a 20 | 20 20 20 20 20 20 20 2f |se();.. | /|
|00003690| 2f 20 6f 6e 6c 79 20 69 | 66 20 61 20 6e 65 77 20 |/ only i|f a new |
|000036a0| 76 61 6c 75 65 20 69 73 | 20 73 70 65 63 69 66 69 |value is| specifi|
|000036b0| 65 64 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6f |ed. | if (o|
|000036c0| 6c 64 56 61 6c 75 65 20 | 21 3d 20 6e 65 77 56 61 |ldValue |!= newVa|
|000036d0| 6c 75 65 20 26 26 20 6e | 65 77 56 61 6c 75 65 29 |lue && n|ewValue)|
|000036e0| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | {. | if |
|000036f0| 28 61 74 74 72 4e 61 6d | 65 20 3d 3d 20 22 64 69 |(attrNam|e == "di|
|00003700| 72 65 63 74 69 6f 6e 22 | 29 20 7b 0a 20 20 20 20 |rection"|) {. |
|00003710| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 74 61 | |this.sta|
|00003720| 72 74 4e 65 77 44 69 72 | 65 63 74 69 6f 6e 20 3d |rtNewDir|ection =|
|00003730| 20 74 72 75 65 3b 0a 20 | 20 20 20 20 20 20 20 20 | true;. | |
|00003740| 20 20 20 74 68 69 73 2e | 64 69 72 65 63 74 69 6f | this.|directio|
|00003750| 6e 46 69 65 6c 64 20 3d | 20 6e 65 77 56 61 6c 75 |nField =| newValu|
|00003760| 65 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 74 |e;. | t|
|00003770| 68 69 73 2e 5f 64 6f 4d | 6f 76 65 28 74 72 75 65 |his._doM|ove(true|
|00003780| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 7d 20 65 |);. | } e|
|00003790| 6c 73 65 20 69 66 20 28 | 61 74 74 72 4e 61 6d 65 |lse if (|attrName|
|000037a0| 20 3d 3d 20 22 62 65 68 | 61 76 69 6f 72 22 29 20 | == "beh|avior") |
|000037b0| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 |{. | th|
|000037c0| 69 73 2e 62 65 68 61 76 | 69 6f 72 46 69 65 6c 64 |is.behav|iorField|
|000037d0| 20 3d 20 6e 65 77 56 61 | 6c 75 65 3b 0a 20 20 20 | = newVa|lue;. |
|000037e0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|000037f0| 20 7d 0a 20 20 20 20 20 | 20 20 20 5d 5d 3e 0a 20 | }. | ]]>. |
|00003800| 20 20 20 20 20 3c 2f 68 | 61 6e 64 6c 65 72 3e 0a | </h|andler>.|
|00003810| 20 20 20 20 3c 2f 68 61 | 6e 64 6c 65 72 73 3e 0a | </ha|ndlers>.|
|00003820| 0a 20 20 3c 2f 62 69 6e | 64 69 6e 67 3e 0a 0a 20 |. </bin|ding>.. |
|00003830| 20 3c 62 69 6e 64 69 6e | 67 20 69 64 3d 22 6d 61 | <bindin|g id="ma|
|00003840| 72 71 75 65 65 2d 68 6f | 72 69 7a 6f 6e 74 61 6c |rquee-ho|rizontal|
|00003850| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 65 78 74 |". | ext|
|00003860| 65 6e 64 73 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 78 |ends="ch|rome://x|
|00003870| 62 6c 2d 6d 61 72 71 75 | 65 65 2f 63 6f 6e 74 65 |bl-marqu|ee/conte|
|00003880| 6e 74 2f 78 62 6c 2d 6d | 61 72 71 75 65 65 2e 78 |nt/xbl-m|arquee.x|
|00003890| 6d 6c 23 6d 61 72 71 75 | 65 65 22 0a 20 20 20 20 |ml#marqu|ee". |
|000038a0| 20 20 20 20 20 20 20 69 | 6e 68 65 72 69 74 73 74 | i|nheritst|
|000038b0| 79 6c 65 3d 22 66 61 6c | 73 65 22 3e 0a 0a 20 20 |yle="fal|se">.. |
|000038c0| 20 20 3c 63 6f 6e 74 65 | 6e 74 3e 0a 20 20 20 20 | <conte|nt>. |
|000038d0| 20 20 3c 68 74 6d 6c 3a | 64 69 76 20 78 62 6c 3a | <html:|div xbl:|
|000038e0| 69 6e 68 65 72 69 74 73 | 3d 22 22 20 73 74 79 6c |inherits|="" styl|
|000038f0| 65 3d 22 6f 76 65 72 66 | 6c 6f 77 3a 20 2d 6d 6f |e="overf|low: -mo|
|00003900| 7a 2d 73 63 72 6f 6c 6c | 62 61 72 73 2d 6e 6f 6e |z-scroll|bars-non|
|00003910| 65 22 3e 0a 20 20 20 20 | 20 20 20 20 3c 78 75 6c |e">. | <xul|
|00003920| 3a 68 62 6f 78 20 73 74 | 79 6c 65 3d 22 6d 61 72 |:hbox st|yle="mar|
|00003930| 67 69 6e 3a 20 30 20 31 | 30 30 25 3b 20 2d 6d 6f |gin: 0 1|00%; -mo|
|00003940| 7a 2d 75 73 65 72 2d 73 | 65 6c 65 63 74 3a 20 74 |z-user-s|elect: t|
|00003950| 65 78 74 3b 22 3e 0a 20 | 20 20 20 20 20 20 20 20 |ext;">. | |
|00003960| 20 3c 68 74 6d 6c 3a 64 | 69 76 20 61 6e 6f 6e 69 | <html:d|iv anoni|
|00003970| 64 3d 22 69 6e 6e 65 72 | 44 69 76 22 3e 0a 20 20 |d="inner|Div">. |
|00003980| 20 20 20 20 20 20 20 20 | 20 20 3c 63 68 69 6c 64 | | <child|
|00003990| 72 65 6e 2f 3e 0a 20 20 | 20 20 20 20 20 20 20 20 |ren/>. | |
|000039a0| 3c 2f 68 74 6d 6c 3a 64 | 69 76 3e 0a 20 20 20 20 |</html:d|iv>. |
|000039b0| 20 20 20 20 3c 2f 78 75 | 6c 3a 68 62 6f 78 3e 0a | </xu|l:hbox>.|
|000039c0| 20 20 20 20 20 20 3c 2f | 68 74 6d 6c 3a 64 69 76 | </|html:div|
|000039d0| 3e 0a 20 20 20 20 3c 2f | 63 6f 6e 74 65 6e 74 3e |>. </|content>|
|000039e0| 0a 0a 20 20 3c 2f 62 69 | 6e 64 69 6e 67 3e 0a 0a |.. </bi|nding>..|
|000039f0| 20 20 3c 62 69 6e 64 69 | 6e 67 20 69 64 3d 22 6d | <bindi|ng id="m|
|00003a00| 61 72 71 75 65 65 2d 76 | 65 72 74 69 63 61 6c 22 |arquee-v|ertical"|
|00003a10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 65 78 74 65 |. | exte|
|00003a20| 6e 64 73 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 78 62 |nds="chr|ome://xb|
|00003a30| 6c 2d 6d 61 72 71 75 65 | 65 2f 63 6f 6e 74 65 6e |l-marque|e/conten|
|00003a40| 74 2f 78 62 6c 2d 6d 61 | 72 71 75 65 65 2e 78 6d |t/xbl-ma|rquee.xm|
|00003a50| 6c 23 6d 61 72 71 75 65 | 65 22 3e 0a 0a 20 20 20 |l#marque|e">.. |
|00003a60| 20 3c 63 6f 6e 74 65 6e | 74 3e 0a 20 20 20 20 20 | <conten|t>. |
|00003a70| 20 3c 68 74 6d 6c 3a 64 | 69 76 20 78 62 6c 3a 69 | <html:d|iv xbl:i|
|00003a80| 6e 68 65 72 69 74 73 3d | 22 22 20 73 74 79 6c 65 |nherits=|"" style|
|00003a90| 3d 22 6f 76 65 72 66 6c | 6f 77 3a 20 2d 6d 6f 7a |="overfl|ow: -moz|
|00003aa0| 2d 73 63 72 6f 6c 6c 62 | 61 72 73 2d 6e 6f 6e 65 |-scrollb|ars-none|
|00003ab0| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 68 74 6d 6c |">. | <html|
|00003ac0| 3a 64 69 76 20 61 6e 6f | 6e 69 64 3d 22 69 6e 6e |:div ano|nid="inn|
|00003ad0| 65 72 44 69 76 22 3e 0a | 20 20 20 20 20 20 20 20 |erDiv">.| |
|00003ae0| 20 20 3c 63 68 69 6c 64 | 72 65 6e 2f 3e 0a 20 20 | <child|ren/>. |
|00003af0| 20 20 20 20 20 20 3c 2f | 68 74 6d 6c 3a 64 69 76 | </|html:div|
|00003b00| 3e 0a 20 20 20 20 20 20 | 3c 2f 68 74 6d 6c 3a 64 |>. |</html:d|
|00003b10| 69 76 3e 0a 20 20 20 20 | 3c 2f 63 6f 6e 74 65 6e |iv>. |</conten|
|00003b20| 74 3e 0a 0a 20 20 3c 2f | 62 69 6e 64 69 6e 67 3e |t>.. </|binding>|
|00003b30| 0a 0a 3c 2f 62 69 6e 64 | 69 6e 67 73 3e 0a 50 4b |..</bind|ings>.PK|
|00003b40| 03 04 0a 00 00 00 00 00 | f5 71 f2 32 b8 95 a9 57 |........|.q.2...W|
|00003b50| 4c 09 00 00 4c 09 00 00 | 23 00 00 00 63 6f 6e 74 |L...L...|#...cont|
|00003b60| 65 6e 74 2f 78 62 6c 2d | 6d 61 72 71 75 65 65 2f |ent/xbl-|marquee/|
|00003b70| 78 62 6c 2d 6d 61 72 71 | 75 65 65 2e 63 73 73 2f |xbl-marq|uee.css/|
|00003b80| 2a 20 2a 2a 2a 2a 2a 20 | 42 45 47 49 4e 20 4c 49 |* ***** |BEGIN LI|
|00003b90| 43 45 4e 53 45 20 42 4c | 4f 43 4b 20 2a 2a 2a 2a |CENSE BL|OCK ****|
|00003ba0| 2a 0d 0a 20 2a 20 56 65 | 72 73 69 6f 6e 3a 20 4d |*.. * Ve|rsion: M|
|00003bb0| 50 4c 20 31 2e 31 2f 47 | 50 4c 20 32 2e 30 2f 4c |PL 1.1/G|PL 2.0/L|
|00003bc0| 47 50 4c 20 32 2e 31 0d | 0a 20 2a 0d 0a 20 2a 20 |GPL 2.1.|. *.. * |
|00003bd0| 54 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |The cont|ents of |
|00003be0| 74 68 69 73 20 66 69 6c | 65 20 61 72 65 20 73 75 |this fil|e are su|
|00003bf0| 62 6a 65 63 74 20 74 6f | 20 74 68 65 20 4d 6f 7a |bject to| the Moz|
|00003c00| 69 6c 6c 61 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |illa Pub|lic Lice|
|00003c10| 6e 73 65 20 56 65 72 73 | 69 6f 6e 0d 0a 20 2a 20 |nse Vers|ion.. * |
|00003c20| 31 2e 31 20 28 74 68 65 | 20 22 4c 69 63 65 6e 73 |1.1 (the| "Licens|
|00003c30| 65 22 29 3b 20 79 6f 75 | 20 6d 61 79 20 6e 6f 74 |e"); you| may not|
|00003c40| 20 75 73 65 20 74 68 69 | 73 20 66 69 6c 65 20 65 | use thi|s file e|
|00003c50| 78 63 65 70 74 20 69 6e | 20 63 6f 6d 70 6c 69 61 |xcept in| complia|
|00003c60| 6e 63 65 20 77 69 74 68 | 0d 0a 20 2a 20 74 68 65 |nce with|.. * the|
|00003c70| 20 4c 69 63 65 6e 73 65 | 2e 20 59 6f 75 20 6d 61 | License|. You ma|
|00003c80| 79 20 6f 62 74 61 69 6e | 20 61 20 63 6f 70 79 20 |y obtain| a copy |
|00003c90| 6f 66 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 61 |of the L|icense a|
|00003ca0| 74 0d 0a 20 2a 20 68 74 | 74 70 3a 2f 2f 77 77 77 |t.. * ht|tp://www|
|00003cb0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|00003cc0| 2f 0d 0a 20 2a 0d 0a 20 | 2a 20 53 6f 66 74 77 61 |/.. *.. |* Softwa|
|00003cd0| 72 65 20 64 69 73 74 72 | 69 62 75 74 65 64 20 75 |re distr|ibuted u|
|00003ce0| 6e 64 65 72 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |nder the| License|
|00003cf0| 20 69 73 20 64 69 73 74 | 72 69 62 75 74 65 64 20 | is dist|ributed |
|00003d00| 6f 6e 20 61 6e 20 22 41 | 53 20 49 53 22 20 62 61 |on an "A|S IS" ba|
|00003d10| 73 69 73 2c 0d 0a 20 2a | 20 57 49 54 48 4f 55 54 |sis,.. *| WITHOUT|
|00003d20| 20 57 41 52 52 41 4e 54 | 59 20 4f 46 20 41 4e 59 | WARRANT|Y OF ANY|
|00003d30| 20 4b 49 4e 44 2c 20 65 | 69 74 68 65 72 20 65 78 | KIND, e|ither ex|
|00003d40| 70 72 65 73 73 20 6f 72 | 20 69 6d 70 6c 69 65 64 |press or| implied|
|00003d50| 2e 20 53 65 65 20 74 68 | 65 20 4c 69 63 65 6e 73 |. See th|e Licens|
|00003d60| 65 0d 0a 20 2a 20 66 6f | 72 20 74 68 65 20 73 70 |e.. * fo|r the sp|
|00003d70| 65 63 69 66 69 63 20 6c | 61 6e 67 75 61 67 65 20 |ecific l|anguage |
|00003d80| 67 6f 76 65 72 6e 69 6e | 67 20 72 69 67 68 74 73 |governin|g rights|
|00003d90| 20 61 6e 64 20 6c 69 6d | 69 74 61 74 69 6f 6e 73 | and lim|itations|
|00003da0| 20 75 6e 64 65 72 20 74 | 68 65 0d 0a 20 2a 20 4c | under t|he.. * L|
|00003db0| 69 63 65 6e 73 65 2e 0d | 0a 20 2a 0d 0a 20 2a 20 |icense..|. *.. * |
|00003dc0| 54 68 65 20 4f 72 69 67 | 69 6e 61 6c 20 43 6f 64 |The Orig|inal Cod|
|00003dd0| 65 20 69 73 20 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |e is moz|illa.org|
|00003de0| 20 63 6f 64 65 2e 0d 0a | 20 2a 0d 0a 20 2a 20 54 | code...| *.. * T|
|00003df0| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel|
|00003e00| 6f 70 65 72 20 6f 66 20 | 74 68 65 20 4f 72 69 67 |oper of |the Orig|
|00003e10| 69 6e 61 6c 20 43 6f 64 | 65 20 69 73 0d 0a 20 2a |inal Cod|e is.. *|
|00003e20| 20 4e 65 74 73 63 61 70 | 65 20 43 6f 6d 6d 75 6e | Netscap|e Commun|
|00003e30| 69 63 61 74 69 6f 6e 73 | 20 43 6f 72 70 6f 72 61 |ications| Corpora|
|00003e40| 74 69 6f 6e 2e 0d 0a 20 | 2a 20 50 6f 72 74 69 6f |tion... |* Portio|
|00003e50| 6e 73 20 63 72 65 61 74 | 65 64 20 62 79 20 74 68 |ns creat|ed by th|
|00003e60| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|00003e70| 70 65 72 20 61 72 65 20 | 43 6f 70 79 72 69 67 68 |per are |Copyrigh|
|00003e80| 74 20 28 43 29 20 31 39 | 39 38 0d 0a 20 2a 20 74 |t (C) 19|98.. * t|
|00003e90| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel|
|00003ea0| 6f 70 65 72 2e 20 41 6c | 6c 20 52 69 67 68 74 73 |oper. Al|l Rights|
|00003eb0| 20 52 65 73 65 72 76 65 | 64 2e 0d 0a 20 2a 0d 0a | Reserve|d... *..|
|00003ec0| 20 2a 20 43 6f 6e 74 72 | 69 62 75 74 6f 72 28 73 | * Contr|ibutor(s|
|00003ed0| 29 3a 0d 0a 20 2a 0d 0a | 20 2a 20 41 6c 74 65 72 |):.. *..| * Alter|
|00003ee0| 6e 61 74 69 76 65 6c 79 | 2c 20 74 68 65 20 63 6f |natively|, the co|
|00003ef0| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00003f00| 69 6c 65 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ile may |be used |
|00003f10| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00003f20| 6f 66 0d 0a 20 2a 20 65 | 69 74 68 65 72 20 6f 66 |of.. * e|ither of|
|00003f30| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|00003f40| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|00003f50| 56 65 72 73 69 6f 6e 20 | 32 20 6f 72 20 6c 61 74 |Version |2 or lat|
|00003f60| 65 72 20 28 74 68 65 20 | 22 47 50 4c 22 29 2c 0d |er (the |"GPL"),.|
|00003f70| 0a 20 2a 20 6f 72 20 74 | 68 65 20 47 4e 55 20 4c |. * or t|he GNU L|
|00003f80| 65 73 73 65 72 20 47 65 | 6e 65 72 61 6c 20 50 75 |esser Ge|neral Pu|
|00003f90| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 56 65 72 |blic Lic|ense Ver|
|00003fa0| 73 69 6f 6e 20 32 2e 31 | 20 6f 72 20 6c 61 74 65 |sion 2.1| or late|
|00003fb0| 72 20 28 74 68 65 20 22 | 4c 47 50 4c 22 29 2c 0d |r (the "|LGPL"),.|
|00003fc0| 0a 20 2a 20 69 6e 20 77 | 68 69 63 68 20 63 61 73 |. * in w|hich cas|
|00003fd0| 65 20 74 68 65 20 70 72 | 6f 76 69 73 69 6f 6e 73 |e the pr|ovisions|
|00003fe0| 20 6f 66 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 | of the |GPL or t|
|00003ff0| 68 65 20 4c 47 50 4c 20 | 61 72 65 20 61 70 70 6c |he LGPL |are appl|
|00004000| 69 63 61 62 6c 65 20 69 | 6e 73 74 65 61 64 0d 0a |icable i|nstead..|
|00004010| 20 2a 20 6f 66 20 74 68 | 6f 73 65 20 61 62 6f 76 | * of th|ose abov|
|00004020| 65 2e 20 49 66 20 79 6f | 75 20 77 69 73 68 20 74 |e. If yo|u wish t|
|00004030| 6f 20 61 6c 6c 6f 77 20 | 75 73 65 20 6f 66 20 79 |o allow |use of y|
|00004040| 6f 75 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |our vers|ion of t|
|00004050| 68 69 73 20 66 69 6c 65 | 20 6f 6e 6c 79 0d 0a 20 |his file| only.. |
|00004060| 2a 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |* under |the term|
|00004070| 73 20 6f 66 20 65 69 74 | 68 65 72 20 74 68 65 20 |s of eit|her the |
|00004080| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2c |GPL or t|he LGPL,|
|00004090| 20 61 6e 64 20 6e 6f 74 | 20 74 6f 20 61 6c 6c 6f | and not| to allo|
|000040a0| 77 20 6f 74 68 65 72 73 | 20 74 6f 0d 0a 20 2a 20 |w others| to.. * |
|000040b0| 75 73 65 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e |use your| version|
|000040c0| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 75 6e | of this| file un|
|000040d0| 64 65 72 20 74 68 65 20 | 74 65 72 6d 73 20 6f 66 |der the |terms of|
|000040e0| 20 74 68 65 20 4d 50 4c | 2c 20 69 6e 64 69 63 61 | the MPL|, indica|
|000040f0| 74 65 20 79 6f 75 72 0d | 0a 20 2a 20 64 65 63 69 |te your.|. * deci|
|00004100| 73 69 6f 6e 20 62 79 20 | 64 65 6c 65 74 69 6e 67 |sion by |deleting|
|00004110| 20 74 68 65 20 70 72 6f | 76 69 73 69 6f 6e 73 20 | the pro|visions |
|00004120| 61 62 6f 76 65 20 61 6e | 64 20 72 65 70 6c 61 63 |above an|d replac|
|00004130| 65 20 74 68 65 6d 20 77 | 69 74 68 20 74 68 65 20 |e them w|ith the |
|00004140| 6e 6f 74 69 63 65 0d 0a | 20 2a 20 61 6e 64 20 6f |notice..| * and o|
|00004150| 74 68 65 72 20 70 72 6f | 76 69 73 69 6f 6e 73 20 |ther pro|visions |
|00004160| 72 65 71 75 69 72 65 64 | 20 62 79 20 74 68 65 20 |required| by the |
|00004170| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|00004180| 20 49 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 64 | If you |do not d|
|00004190| 65 6c 65 74 65 0d 0a 20 | 2a 20 74 68 65 20 70 72 |elete.. |* the pr|
|000041a0| 6f 76 69 73 69 6f 6e 73 | 20 61 62 6f 76 65 2c 20 |ovisions| above, |
|000041b0| 61 20 72 65 63 69 70 69 | 65 6e 74 20 6d 61 79 20 |a recipi|ent may |
|000041c0| 75 73 65 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e |use your| version|
|000041d0| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 75 6e | of this| file un|
|000041e0| 64 65 72 0d 0a 20 2a 20 | 74 68 65 20 74 65 72 6d |der.. * |the term|
|000041f0| 73 20 6f 66 20 61 6e 79 | 20 6f 6e 65 20 6f 66 20 |s of any| one of |
|00004200| 74 68 65 20 4d 50 4c 2c | 20 74 68 65 20 47 50 4c |the MPL,| the GPL|
|00004210| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2e 0d 0a 20 | or the |LGPL... |
|00004220| 2a 0d 0a 20 2a 20 2a 2a | 2a 2a 2a 20 45 4e 44 20 |*.. * **|*** END |
|00004230| 4c 49 43 45 4e 53 45 20 | 42 4c 4f 43 4b 20 2a 2a |LICENSE |BLOCK **|
|00004240| 2a 2a 2a 20 2a 2f 0d 0a | 20 0d 0a 2f 2a 20 4d 61 |*** */..| ../* Ma|
|00004250| 72 71 75 65 65 73 20 77 | 69 74 68 20 61 20 68 65 |rquees w|ith a he|
|00004260| 69 67 68 74 20 61 74 74 | 72 20 74 68 61 74 20 61 |ight att|r that a|
|00004270| 63 74 75 61 6c 6c 79 20 | 73 70 65 63 69 66 69 65 |ctually |specifie|
|00004280| 73 20 61 20 68 65 69 67 | 68 74 20 73 68 6f 75 6c |s a heig|ht shoul|
|00004290| 64 20 68 61 76 65 0d 0a | 20 20 20 61 75 74 6f 20 |d have..| auto |
|000042a0| 43 53 53 20 68 65 69 67 | 68 74 20 68 65 72 65 2e |CSS heig|ht here.|
|000042b0| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 69 73 | Note t|hat this|
|000042c0| 20 72 75 6c 65 20 68 61 | 73 20 74 68 65 20 73 61 | rule ha|s the sa|
|000042d0| 6d 65 20 73 70 65 63 69 | 66 69 63 69 74 79 20 61 |me speci|ficity a|
|000042e0| 73 20 74 68 65 0d 0a 20 | 20 20 70 72 65 63 65 64 |s the.. | preced|
|000042f0| 69 6e 67 20 6f 6e 65 2c | 20 73 6f 20 69 74 20 68 |ing one,| so it h|
|00004300| 61 73 20 74 6f 20 63 6f | 6d 65 20 6c 61 74 65 72 |as to co|me later|
|00004310| 20 69 6e 20 74 68 65 20 | 73 68 65 65 74 20 74 6f | in the |sheet to|
|00004320| 20 77 6f 72 6b 2e 20 2a | 2f 0d 0a 6d 61 72 71 75 | work. *|/..marqu|
|00004330| 65 65 5b 68 65 69 67 68 | 74 2a 3d 22 31 22 5d 2c |ee[heigh|t*="1"],|
|00004340| 20 6d 61 72 71 75 65 65 | 5b 68 65 69 67 68 74 2a | marquee|[height*|
|00004350| 3d 22 32 22 5d 2c 20 6d | 61 72 71 75 65 65 5b 68 |="2"], m|arquee[h|
|00004360| 65 69 67 68 74 2a 3d 22 | 33 22 5d 2c 0d 0a 6d 61 |eight*="|3"],..ma|
|00004370| 72 71 75 65 65 5b 68 65 | 69 67 68 74 2a 3d 22 34 |rquee[he|ight*="4|
|00004380| 22 5d 2c 20 6d 61 72 71 | 75 65 65 5b 68 65 69 67 |"], marq|uee[heig|
|00004390| 68 74 2a 3d 22 35 22 5d | 2c 20 6d 61 72 71 75 65 |ht*="5"]|, marque|
|000043a0| 65 5b 68 65 69 67 68 74 | 2a 3d 22 36 22 5d 2c 0d |e[height|*="6"],.|
|000043b0| 0a 6d 61 72 71 75 65 65 | 5b 68 65 69 67 68 74 2a |.marquee|[height*|
|000043c0| 3d 22 37 22 5d 2c 20 6d | 61 72 71 75 65 65 5b 68 |="7"], m|arquee[h|
|000043d0| 65 69 67 68 74 2a 3d 22 | 38 22 5d 2c 20 6d 61 72 |eight*="|8"], mar|
|000043e0| 71 75 65 65 5b 68 65 69 | 67 68 74 2a 3d 22 39 22 |quee[hei|ght*="9"|
|000043f0| 5d 20 7b 0d 0a 20 20 68 | 65 69 67 68 74 3a 20 61 |] {.. h|eight: a|
|00004400| 75 74 6f 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2a 20 50 52 |uto;..}.|.../* PR|
|00004410| 49 4e 54 20 4f 4e 4c 59 | 20 72 75 6c 65 73 20 66 |INT ONLY| rules f|
|00004420| 6f 6c 6c 6f 77 20 2a 2f | 0d 0a 40 6d 65 64 69 61 |ollow */|..@media|
|00004430| 20 70 72 69 6e 74 20 7b | 0d 0a 0d 0a 20 20 6d 61 | print {|.... ma|
|00004440| 72 71 75 65 65 20 3e 20 | 2a 20 3e 20 2a 20 7b 20 |rquee > |* > * { |
|00004450| 0d 0a 20 20 20 20 6d 61 | 72 67 69 6e 3a 20 30 20 |.. ma|rgin: 0 |
|00004460| 21 69 6d 70 6f 72 74 61 | 6e 74 3b 20 0d 0a 20 20 |!importa|nt; .. |
|00004470| 20 20 70 61 64 64 69 6e | 67 3a 20 30 20 21 69 6d | paddin|g: 0 !im|
|00004480| 70 6f 72 74 61 6e 74 3b | 0d 0a 20 20 7d 20 2f 2a |portant;|.. } /*|
|00004490| 20 54 68 69 73 20 68 61 | 63 6b 20 69 73 20 6e 65 | This ha|ck is ne|
|000044a0| 65 64 65 64 20 75 6e 74 | 69 6c 20 62 75 67 20 31 |eded unt|il bug 1|
|000044b0| 31 39 30 37 38 20 67 65 | 74 73 20 66 69 78 65 64 |19078 ge|ts fixed|
|000044c0| 20 2a 2f 0d 0a 20 0d 0a | 7d 0d 0a 50 4b 03 04 0a | */.. ..|}..PK...|
|000044d0| 00 00 00 00 00 ad 03 81 | 32 f3 92 7a 41 23 21 00 |........|2..zA#!.|
|000044e0| 00 23 21 00 00 33 00 00 | 00 63 6f 6e 74 65 6e 74 |.#!..3..|.content|
|000044f0| 2f 63 6f 6d 6d 75 6e 69 | 63 61 74 6f 72 2f 70 72 |/communi|cator/pr|
|00004500| 6f 66 69 6c 65 2f 63 72 | 65 61 74 65 50 72 6f 66 |ofile/cr|eateProf|
|00004510| 69 6c 65 57 69 7a 61 72 | 64 2e 6a 73 2f 2a 20 2a |ileWizar|d.js/* *|
|00004520| 2a 2a 2a 2a 20 42 45 47 | 49 4e 20 4c 49 43 45 4e |**** BEG|IN LICEN|
|00004530| 53 45 20 42 4c 4f 43 4b | 20 2a 2a 2a 2a 2a 0a 20 |SE BLOCK| *****. |
|00004540| 2a 20 56 65 72 73 69 6f | 6e 3a 20 4d 50 4c 20 31 |* Versio|n: MPL 1|
|00004550| 2e 31 2f 47 50 4c 20 32 | 2e 30 2f 4c 47 50 4c 20 |.1/GPL 2|.0/LGPL |
|00004560| 32 2e 31 0a 20 2a 0a 20 | 2a 20 54 68 65 20 63 6f |2.1. *. |* The co|
|00004570| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00004580| 69 6c 65 20 61 72 65 20 | 73 75 62 6a 65 63 74 20 |ile are |subject |
|00004590| 74 6f 20 74 68 65 20 4d | 6f 7a 69 6c 6c 61 20 50 |to the M|ozilla P|
|000045a0| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve|
|000045b0| 72 73 69 6f 6e 0a 20 2a | 20 31 2e 31 20 28 74 68 |rsion. *| 1.1 (th|
|000045c0| 65 20 22 4c 69 63 65 6e | 73 65 22 29 3b 20 79 6f |e "Licen|se"); yo|
|000045d0| 75 20 6d 61 79 20 6e 6f | 74 20 75 73 65 20 74 68 |u may no|t use th|
|000045e0| 69 73 20 66 69 6c 65 20 | 65 78 63 65 70 74 20 69 |is file |except i|
|000045f0| 6e 20 63 6f 6d 70 6c 69 | 61 6e 63 65 20 77 69 74 |n compli|ance wit|
|00004600| 68 0a 20 2a 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |h. * the| License|
|00004610| 2e 20 59 6f 75 20 6d 61 | 79 20 6f 62 74 61 69 6e |. You ma|y obtain|
|00004620| 20 61 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 4c | a copy |of the L|
|00004630| 69 63 65 6e 73 65 20 61 | 74 0a 20 2a 20 68 74 74 |icense a|t. * htt|
|00004640| 70 3a 2f 2f 77 77 77 2e | 6d 6f 7a 69 6c 6c 61 2e |p://www.|mozilla.|
|00004650| 6f 72 67 2f 4d 50 4c 2f | 0a 20 2a 0a 20 2a 20 53 |org/MPL/|. *. * S|
|00004660| 6f 66 74 77 61 72 65 20 | 64 69 73 74 72 69 62 75 |oftware |distribu|
|00004670| 74 65 64 20 75 6e 64 65 | 72 20 74 68 65 20 4c 69 |ted unde|r the Li|
|00004680| 63 65 6e 73 65 20 69 73 | 20 64 69 73 74 72 69 62 |cense is| distrib|
|00004690| 75 74 65 64 20 6f 6e 20 | 61 6e 20 22 41 53 20 49 |uted on |an "AS I|
|000046a0| 53 22 20 62 61 73 69 73 | 2c 0a 20 2a 20 57 49 54 |S" basis|,. * WIT|
|000046b0| 48 4f 55 54 20 57 41 52 | 52 41 4e 54 59 20 4f 46 |HOUT WAR|RANTY OF|
|000046c0| 20 41 4e 59 20 4b 49 4e | 44 2c 20 65 69 74 68 65 | ANY KIN|D, eithe|
|000046d0| 72 20 65 78 70 72 65 73 | 73 20 6f 72 20 69 6d 70 |r expres|s or imp|
|000046e0| 6c 69 65 64 2e 20 53 65 | 65 20 74 68 65 20 4c 69 |lied. Se|e the Li|
|000046f0| 63 65 6e 73 65 0a 20 2a | 20 66 6f 72 20 74 68 65 |cense. *| for the|
|00004700| 20 73 70 65 63 69 66 69 | 63 20 6c 61 6e 67 75 61 | specifi|c langua|
|00004710| 67 65 20 67 6f 76 65 72 | 6e 69 6e 67 20 72 69 67 |ge gover|ning rig|
|00004720| 68 74 73 20 61 6e 64 20 | 6c 69 6d 69 74 61 74 69 |hts and |limitati|
|00004730| 6f 6e 73 20 75 6e 64 65 | 72 20 74 68 65 0a 20 2a |ons unde|r the. *|
|00004740| 20 4c 69 63 65 6e 73 65 | 2e 0a 20 2a 0a 20 2a 20 | License|.. *. * |
|00004750| 54 68 65 20 4f 72 69 67 | 69 6e 61 6c 20 43 6f 64 |The Orig|inal Cod|
|00004760| 65 20 69 73 20 4d 6f 7a | 69 6c 6c 61 20 43 6f 6d |e is Moz|illa Com|
|00004770| 6d 75 6e 69 63 61 74 6f | 72 20 63 6c 69 65 6e 74 |municato|r client|
|00004780| 20 63 6f 64 65 2c 20 72 | 65 6c 65 61 73 65 64 0a | code, r|eleased.|
|00004790| 20 2a 20 4d 61 72 63 68 | 20 33 31 2c 20 31 39 39 | * March| 31, 199|
|000047a0| 38 2e 0a 20 2a 0a 20 2a | 20 54 68 65 20 49 6e 69 |8.. *. *| The Ini|
|000047b0| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 20 6f |tial Dev|eloper o|
|000047c0| 66 20 74 68 65 20 4f 72 | 69 67 69 6e 61 6c 20 43 |f the Or|iginal C|
|000047d0| 6f 64 65 20 69 73 0a 20 | 2a 20 4e 65 74 73 63 61 |ode is. |* Netsca|
|000047e0| 70 65 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |pe Commu|nication|
|000047f0| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0a 20 |s Corpor|ation.. |
|00004800| 2a 20 50 6f 72 74 69 6f | 6e 73 20 63 72 65 61 74 |* Portio|ns creat|
|00004810| 65 64 20 62 79 20 74 68 | 65 20 49 6e 69 74 69 61 |ed by th|e Initia|
|00004820| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 61 72 65 20 |l Develo|per are |
|00004830| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 31 39 |Copyrigh|t (C) 19|
|00004840| 39 38 2d 31 39 39 39 0a | 20 2a 20 74 68 65 20 49 |98-1999.| * the I|
|00004850| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|00004860| 2e 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |. All Ri|ghts Res|
|00004870| 65 72 76 65 64 2e 0a 20 | 2a 0a 20 2a 20 43 6f 6e |erved.. |*. * Con|
|00004880| 74 72 69 62 75 74 6f 72 | 28 73 29 3a 0a 20 2a 20 |tributor|(s):. * |
|00004890| 20 20 42 65 6e 20 47 6f | 6f 64 67 65 72 20 28 33 | Ben Go|odger (3|
|000048a0| 30 2f 30 39 2f 39 39 29 | 0a 20 2a 20 20 20 42 72 |0/09/99)|. * Br|
|000048b0| 61 6e 74 20 47 75 72 67 | 61 6e 75 73 20 28 32 33 |ant Gurg|anus (23|
|000048c0| 2f 30 33 2f 30 33 29 0a | 20 2a 20 20 20 53 74 65 |/03/03).| * Ste|
|000048d0| 66 61 6e 20 42 6f 72 67 | 67 72 61 65 66 65 20 28 |fan Borg|graefe (|
|000048e0| 31 37 2f 31 30 2f 30 33 | 29 0a 20 2a 0a 20 2a 20 |17/10/03|). *. * |
|000048f0| 41 6c 74 65 72 6e 61 74 | 69 76 65 6c 79 2c 20 74 |Alternat|ively, t|
|00004900| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00004910| 68 69 73 20 66 69 6c 65 | 20 6d 61 79 20 62 65 20 |his file| may be |
|00004920| 75 73 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 74 |used und|er the t|
|00004930| 65 72 6d 73 20 6f 66 0a | 20 2a 20 65 69 74 68 65 |erms of.| * eithe|
|00004940| 72 20 6f 66 20 74 68 65 | 20 47 4e 55 20 47 65 6e |r of the| GNU Gen|
|00004950| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00004960| 6e 73 65 20 56 65 72 73 | 69 6f 6e 20 32 20 6f 72 |nse Vers|ion 2 or|
|00004970| 20 6c 61 74 65 72 20 28 | 74 68 65 20 22 47 50 4c | later (|the "GPL|
|00004980| 22 29 2c 0a 20 2a 20 6f | 72 20 74 68 65 20 47 4e |"),. * o|r the GN|
|00004990| 55 20 4c 65 73 73 65 72 | 20 47 65 6e 65 72 61 6c |U Lesser| General|
|000049a0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|000049b0| 56 65 72 73 69 6f 6e 20 | 32 2e 31 20 6f 72 20 6c |Version |2.1 or l|
|000049c0| 61 74 65 72 20 28 74 68 | 65 20 22 4c 47 50 4c 22 |ater (th|e "LGPL"|
|000049d0| 29 2c 0a 20 2a 20 69 6e | 20 77 68 69 63 68 20 63 |),. * in| which c|
|000049e0| 61 73 65 20 74 68 65 20 | 70 72 6f 76 69 73 69 6f |ase the |provisio|
|000049f0| 6e 73 20 6f 66 20 74 68 | 65 20 47 50 4c 20 6f 72 |ns of th|e GPL or|
|00004a00| 20 74 68 65 20 4c 47 50 | 4c 20 61 72 65 20 61 70 | the LGP|L are ap|
|00004a10| 70 6c 69 63 61 62 6c 65 | 20 69 6e 73 74 65 61 64 |plicable| instead|
|00004a20| 0a 20 2a 20 6f 66 20 74 | 68 6f 73 65 20 61 62 6f |. * of t|hose abo|
|00004a30| 76 65 2e 20 49 66 20 79 | 6f 75 20 77 69 73 68 20 |ve. If y|ou wish |
|00004a40| 74 6f 20 61 6c 6c 6f 77 | 20 75 73 65 20 6f 66 20 |to allow| use of |
|00004a50| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |your ver|sion of |
|00004a60| 74 68 69 73 20 66 69 6c | 65 20 6f 6e 6c 79 0a 20 |this fil|e only. |
|00004a70| 2a 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |* under |the term|
|00004a80| 73 20 6f 66 20 65 69 74 | 68 65 72 20 74 68 65 20 |s of eit|her the |
|00004a90| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2c |GPL or t|he LGPL,|
|00004aa0| 20 61 6e 64 20 6e 6f 74 | 20 74 6f 20 61 6c 6c 6f | and not| to allo|
|00004ab0| 77 20 6f 74 68 65 72 73 | 20 74 6f 0a 20 2a 20 75 |w others| to. * u|
|00004ac0| 73 65 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |se your |version |
|00004ad0| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 75 6e 64 |of this |file und|
|00004ae0| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00004af0| 74 68 65 20 4d 50 4c 2c | 20 69 6e 64 69 63 61 74 |the MPL,| indicat|
|00004b00| 65 20 79 6f 75 72 0a 20 | 2a 20 64 65 63 69 73 69 |e your. |* decisi|
|00004b10| 6f 6e 20 62 79 20 64 65 | 6c 65 74 69 6e 67 20 74 |on by de|leting t|
|00004b20| 68 65 20 70 72 6f 76 69 | 73 69 6f 6e 73 20 61 62 |he provi|sions ab|
|00004b30| 6f 76 65 20 61 6e 64 20 | 72 65 70 6c 61 63 65 20 |ove and |replace |
|00004b40| 74 68 65 6d 20 77 69 74 | 68 20 74 68 65 20 6e 6f |them wit|h the no|
|00004b50| 74 69 63 65 0a 20 2a 20 | 61 6e 64 20 6f 74 68 65 |tice. * |and othe|
|00004b60| 72 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 72 65 71 |r provis|ions req|
|00004b70| 75 69 72 65 64 20 62 79 | 20 74 68 65 20 47 50 4c |uired by| the GPL|
|00004b80| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2e 20 49 66 | or the |LGPL. If|
|00004b90| 20 79 6f 75 20 64 6f 20 | 6e 6f 74 20 64 65 6c 65 | you do |not dele|
|00004ba0| 74 65 0a 20 2a 20 74 68 | 65 20 70 72 6f 76 69 73 |te. * th|e provis|
|00004bb0| 69 6f 6e 73 20 61 62 6f | 76 65 2c 20 61 20 72 65 |ions abo|ve, a re|
|00004bc0| 63 69 70 69 65 6e 74 20 | 6d 61 79 20 75 73 65 20 |cipient |may use |
|00004bd0| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |your ver|sion of |
|00004be0| 74 68 69 73 20 66 69 6c | 65 20 75 6e 64 65 72 0a |this fil|e under.|
|00004bf0| 20 2a 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 | * the t|erms of |
|00004c00| 61 6e 79 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 4d |any one |of the M|
|00004c10| 50 4c 2c 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 |PL, the |GPL or t|
|00004c20| 68 65 20 4c 47 50 4c 2e | 0a 20 2a 0a 20 2a 20 2a |he LGPL.|. *. * *|
|00004c30| 2a 2a 2a 2a 20 45 4e 44 | 20 4c 49 43 45 4e 53 45 |**** END| LICENSE|
|00004c40| 20 42 4c 4f 43 4b 20 2a | 2a 2a 2a 2a 20 2a 2f 0a | BLOCK *|**** */.|
|00004c50| 0a 76 61 72 20 67 50 72 | 6f 66 69 6c 65 20 3d 20 |.var gPr|ofile = |
|00004c60| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|00004c70| 65 73 5b 22 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |es["@moz|illa.org|
|00004c80| 2f 70 72 6f 66 69 6c 65 | 2f 6d 61 6e 61 67 65 72 |/profile|/manager|
|00004c90| 3b 31 22 5d 2e 67 65 74 | 53 65 72 76 69 63 65 28 |;1"].get|Service(|
|00004ca0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|00004cb0| 66 61 63 65 73 2e 6e 73 | 49 50 72 6f 66 69 6c 65 |faces.ns|IProfile|
|00004cc0| 49 6e 74 65 72 6e 61 6c | 29 3b 0a 76 61 72 20 67 |Internal|);.var g|
|00004cd0| 50 72 6f 66 69 6c 65 4d | 61 6e 61 67 65 72 42 75 |ProfileM|anagerBu|
|00004ce0| 6e 64 6c 65 3b 0a 0a 2f | 2f 20 54 68 65 20 64 69 |ndle;../|/ The di|
|00004cf0| 72 65 63 74 6f 72 79 20 | 77 68 65 72 65 20 74 68 |rectory |where th|
|00004d00| 65 20 70 72 6f 66 69 6c | 65 20 77 69 6c 6c 20 62 |e profil|e will b|
|00004d10| 65 20 63 72 65 61 74 65 | 64 2e 0a 76 61 72 20 67 |e create|d..var g|
|00004d20| 50 72 6f 66 69 6c 65 52 | 6f 6f 74 3b 0a 0a 2f 2f |ProfileR|oot;..//|
|00004d30| 20 54 65 78 74 20 6e 6f | 64 65 20 74 6f 20 64 69 | Text no|de to di|
|00004d40| 73 70 6c 61 79 20 74 68 | 65 20 6c 6f 63 61 74 69 |splay th|e locati|
|00004d50| 6f 6e 20 61 6e 64 20 6e | 61 6d 65 20 6f 66 20 74 |on and n|ame of t|
|00004d60| 68 65 20 70 72 6f 66 69 | 6c 65 20 74 6f 20 63 72 |he profi|le to cr|
|00004d70| 65 61 74 65 2e 0a 76 61 | 72 20 67 50 72 6f 66 69 |eate..va|r gProfi|
|00004d80| 6c 65 44 69 73 70 6c 61 | 79 3b 0a 0a 2f 2f 20 43 |leDispla|y;..// C|
|00004d90| 61 6c 6c 65 64 20 6f 6e | 63 65 20 77 68 65 6e 20 |alled on|ce when |
|00004da0| 74 68 65 20 77 69 7a 61 | 72 64 20 69 73 20 6f 70 |the wiza|rd is op|
|00004db0| 65 6e 65 64 2e 0a 66 75 | 6e 63 74 69 6f 6e 20 69 |ened..fu|nction i|
|00004dc0| 6e 69 74 57 69 7a 61 72 | 64 28 29 0a 7b 20 0a 20 |nitWizar|d().{ . |
|00004dd0| 20 67 50 72 6f 66 69 6c | 65 4d 61 6e 61 67 65 72 | gProfil|eManager|
|00004de0| 42 75 6e 64 6c 65 20 3d | 20 64 6f 63 75 6d 65 6e |Bundle =| documen|
|00004df0| 74 2e 67 65 74 45 6c 65 | 6d 65 6e 74 42 79 49 64 |t.getEle|mentById|
|00004e00| 28 22 62 75 6e 64 6c 65 | 5f 70 72 6f 66 69 6c 65 |("bundle|_profile|
|00004e10| 4d 61 6e 61 67 65 72 22 | 29 3b 0a 20 20 20 20 0a |Manager"|);. .|
|00004e20| 20 20 2f 2f 20 49 6e 69 | 74 69 61 6c 69 7a 65 20 | // Ini|tialize |
|00004e30| 74 68 65 20 70 72 6f 66 | 69 6c 65 20 6c 6f 63 61 |the prof|ile loca|
|00004e40| 74 69 6f 6e 20 64 69 73 | 70 6c 61 79 2e 0a 20 20 |tion dis|play.. |
|00004e50| 67 50 72 6f 66 69 6c 65 | 44 69 73 70 6c 61 79 20 |gProfile|Display |
|00004e60| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 67 65 74 45 6c |= docume|nt.getEl|
|00004e70| 65 6d 65 6e 74 42 79 49 | 64 28 22 70 72 6f 66 69 |ementByI|d("profi|
|00004e80| 6c 65 44 69 73 70 6c 61 | 79 22 29 2e 66 69 72 73 |leDispla|y").firs|
|00004e90| 74 43 68 69 6c 64 3b 0a | 20 20 73 65 74 44 69 73 |tChild;.| setDis|
|00004ea0| 70 6c 61 79 54 6f 44 65 | 66 61 75 6c 74 46 6f 6c |playToDe|faultFol|
|00004eb0| 64 65 72 28 29 3b 0a 7d | 0a 0a 2f 2f 20 43 61 6c |der();.}|..// Cal|
|00004ec0| 6c 65 64 20 65 76 65 72 | 79 20 74 69 6d 65 20 74 |led ever|y time t|
|00004ed0| 68 65 20 73 65 63 6f 6e | 64 20 77 69 7a 61 72 64 |he secon|d wizard|
|00004ee0| 20 70 61 67 65 20 69 73 | 20 64 69 73 70 6c 61 79 | page is| display|
|00004ef0| 65 64 2e 0a 66 75 6e 63 | 74 69 6f 6e 20 69 6e 69 |ed..func|tion ini|
|00004f00| 74 53 65 63 6f 6e 64 57 | 69 7a 61 72 64 50 61 67 |tSecondW|izardPag|
|00004f10| 65 28 29 20 0a 7b 0a 20 | 20 76 61 72 20 70 72 6f |e() .{. | var pro|
|00004f20| 66 69 6c 65 4e 61 6d 65 | 20 3d 20 64 6f 63 75 6d |fileName| = docum|
|00004f30| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00004f40| 49 64 28 22 70 72 6f 66 | 69 6c 65 4e 61 6d 65 22 |Id("prof|ileName"|
|00004f50| 29 3b 0a 20 20 70 72 6f | 66 69 6c 65 4e 61 6d 65 |);. pro|fileName|
|00004f60| 2e 73 65 6c 65 63 74 28 | 29 3b 0a 20 20 70 72 6f |.select(|);. pro|
|00004f70| 66 69 6c 65 4e 61 6d 65 | 2e 66 6f 63 75 73 28 29 |fileName|.focus()|
|00004f80| 3b 0a 0a 20 20 2f 2f 20 | 49 6e 69 74 69 61 6c 69 |;.. // |Initiali|
|00004f90| 7a 65 20 70 72 6f 66 69 | 6c 65 20 6e 61 6d 65 20 |ze profi|le name |
|00004fa0| 76 61 6c 69 64 61 74 69 | 6f 6e 2e 0a 20 20 63 68 |validati|on.. ch|
|00004fb0| 65 63 6b 43 75 72 72 65 | 6e 74 49 6e 70 75 74 28 |eckCurre|ntInput(|
|00004fc0| 70 72 6f 66 69 6c 65 4e | 61 6d 65 2e 76 61 6c 75 |profileN|ame.valu|
|00004fd0| 65 29 3b 0a 7d 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |e);.}..f|unction |
|00004fe0| 73 65 74 44 69 73 70 6c | 61 79 54 6f 44 65 66 61 |setDispl|ayToDefa|
|00004ff0| 75 6c 74 46 6f 6c 64 65 | 72 28 29 0a 7b 0a 20 20 |ultFolde|r().{. |
|00005000| 73 65 74 44 69 73 70 6c | 61 79 54 6f 46 6f 6c 64 |setDispl|ayToFold|
|00005010| 65 72 28 67 50 72 6f 66 | 69 6c 65 2e 64 65 66 61 |er(gProf|ile.defa|
|00005020| 75 6c 74 50 72 6f 66 69 | 6c 65 50 61 72 65 6e 74 |ultProfi|leParent|
|00005030| 44 69 72 29 3b 0a 20 20 | 64 6f 63 75 6d 65 6e 74 |Dir);. |document|
|00005040| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00005050| 22 75 73 65 44 65 66 61 | 75 6c 74 22 29 2e 64 69 |"useDefa|ult").di|
|00005060| 73 61 62 6c 65 64 20 3d | 20 74 72 75 65 3b 0a 7d |sabled =| true;.}|
|00005070| 0a 0a 66 75 6e 63 74 69 | 6f 6e 20 73 65 74 44 69 |..functi|on setDi|
|00005080| 73 70 6c 61 79 54 6f 46 | 6f 6c 64 65 72 28 70 72 |splayToF|older(pr|
|00005090| 6f 66 69 6c 65 52 6f 6f | 74 29 0a 7b 0a 20 20 76 |ofileRoo|t).{. v|
|000050a0| 61 72 20 70 72 6f 66 69 | 6c 65 4e 61 6d 65 20 3d |ar profi|leName =|
|000050b0| 20 64 6f 63 75 6d 65 6e | 74 2e 67 65 74 45 6c 65 | documen|t.getEle|
|000050c0| 6d 65 6e 74 42 79 49 64 | 28 22 70 72 6f 66 69 6c |mentById|("profil|
|000050d0| 65 4e 61 6d 65 22 29 3b | 0a 20 20 70 72 6f 66 69 |eName");|. profi|
|000050e0| 6c 65 4e 61 6d 65 2e 66 | 6f 63 75 73 28 29 3b 0a |leName.f|ocus();.|
|000050f0| 20 20 67 50 72 6f 66 69 | 6c 65 52 6f 6f 74 20 3d | gProfi|leRoot =|
|00005100| 20 70 72 6f 66 69 6c 65 | 52 6f 6f 74 3b 0a 7d 0a | profile|Root;.}.|
|00005110| 0a 66 75 6e 63 74 69 6f | 6e 20 75 70 64 61 74 65 |.functio|n update|
|00005120| 50 72 6f 66 69 6c 65 44 | 69 73 70 6c 61 79 28 29 |ProfileD|isplay()|
|00005130| 0a 7b 0a 20 20 76 61 72 | 20 63 75 72 72 65 6e 74 |.{. var| current|
|00005140| 50 72 6f 66 69 6c 65 4e | 61 6d 65 20 3d 20 64 6f |ProfileN|ame = do|
|00005150| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|00005160| 74 42 79 49 64 28 22 70 | 72 6f 66 69 6c 65 4e 61 |tById("p|rofileNa|
|00005170| 6d 65 22 29 2e 76 61 6c | 75 65 3b 0a 20 20 76 61 |me").val|ue;. va|
|00005180| 72 20 70 72 6f 66 69 6c | 65 50 61 74 68 41 6e 64 |r profil|ePathAnd|
|00005190| 4e 61 6d 65 20 3d 20 67 | 50 72 6f 66 69 6c 65 52 |Name = g|ProfileR|
|000051a0| 6f 6f 74 2e 63 6c 6f 6e | 65 28 29 3b 0a 0a 20 20 |oot.clon|e();.. |
|000051b0| 70 72 6f 66 69 6c 65 50 | 61 74 68 41 6e 64 4e 61 |profileP|athAndNa|
|000051c0| 6d 65 2e 61 70 70 65 6e | 64 28 63 75 72 72 65 6e |me.appen|d(curren|
|000051d0| 74 50 72 6f 66 69 6c 65 | 4e 61 6d 65 29 3b 0a 20 |tProfile|Name);. |
|000051e0| 20 67 50 72 6f 66 69 6c | 65 44 69 73 70 6c 61 79 | gProfil|eDisplay|
|000051f0| 2e 64 61 74 61 20 3d 20 | 70 72 6f 66 69 6c 65 50 |.data = |profileP|
|00005200| 61 74 68 41 6e 64 4e 61 | 6d 65 2e 70 61 74 68 3b |athAndNa|me.path;|
|00005210| 0a 7d 0a 0a 2f 2f 20 53 | 68 6f 77 73 20 74 68 65 |.}..// S|hows the|
|00005220| 20 4c 61 6e 67 75 61 67 | 65 2f 52 65 67 69 6f 6e | Languag|e/Region|
|00005230| 20 53 65 6c 65 63 74 69 | 6f 6e 20 64 69 61 6c 6f | Selecti|on dialo|
|00005240| 67 20 61 6e 64 20 75 70 | 64 61 74 65 73 20 74 68 |g and up|dates th|
|00005250| 65 20 64 61 74 61 2d 41 | 74 74 72 69 62 75 74 65 |e data-A|ttribute|
|00005260| 73 20 74 6f 20 0a 2f 2f | 20 74 68 65 20 73 65 6c |s to .//| the sel|
|00005270| 65 63 74 65 64 20 76 61 | 6c 75 65 73 2e 0a 66 75 |ected va|lues..fu|
|00005280| 6e 63 74 69 6f 6e 20 73 | 68 6f 77 4c 61 6e 67 44 |nction s|howLangD|
|00005290| 69 61 6c 6f 67 28 29 0a | 7b 0a 20 20 76 61 72 20 |ialog().|{. var |
|000052a0| 6c 61 6e 67 75 61 67 65 | 43 6f 64 65 20 3d 20 64 |language|Code = d|
|000052b0| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|000052c0| 6e 74 42 79 49 64 28 22 | 70 72 6f 66 69 6c 65 4c |ntById("|profileL|
|000052d0| 61 6e 67 75 61 67 65 22 | 29 2e 67 65 74 41 74 74 |anguage"|).getAtt|
|000052e0| 72 69 62 75 74 65 28 22 | 64 61 74 61 22 29 3b 0a |ribute("|data");.|
|000052f0| 20 20 76 61 72 20 72 65 | 67 69 6f 6e 43 6f 64 65 | var re|gionCode|
|00005300| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|00005310| 6c 65 6d 65 6e 74 42 79 | 49 64 28 22 70 72 6f 66 |lementBy|Id("prof|
|00005320| 69 6c 65 52 65 67 69 6f | 6e 22 29 2e 67 65 74 41 |ileRegio|n").getA|
|00005330| 74 74 72 69 62 75 74 65 | 28 22 64 61 74 61 22 29 |ttribute|("data")|
|00005340| 3b 0a 20 20 77 69 6e 64 | 6f 77 2e 6f 70 65 6e 44 |;. wind|ow.openD|
|00005350| 69 61 6c 6f 67 28 22 63 | 68 72 6f 6d 65 3a 2f 2f |ialog("c|hrome://|
|00005360| 63 6f 6d 6d 75 6e 69 63 | 61 74 6f 72 2f 63 6f 6e |communic|ator/con|
|00005370| 74 65 6e 74 2f 70 72 6f | 66 69 6c 65 2f 73 65 6c |tent/pro|file/sel|
|00005380| 65 63 74 4c 61 6e 67 2e | 78 75 6c 22 2c 0a 20 20 |ectLang.|xul",. |
|00005390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053a0| 20 20 22 22 2c 20 22 63 | 65 6e 74 65 72 73 63 72 | "", "c|enterscr|
|000053b0| 65 65 6e 2c 6d 6f 64 61 | 6c 2c 74 69 74 6c 65 62 |een,moda|l,titleb|
|000053c0| 61 72 22 2c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ar",. | |
|000053d0| 20 20 20 20 20 20 20 20 | 20 6c 61 6e 67 75 61 67 | | languag|
|000053e0| 65 43 6f 64 65 2c 20 72 | 65 67 69 6f 6e 43 6f 64 |eCode, r|egionCod|
|000053f0| 65 29 3b 0a 7d 0a 0a 2f | 2f 20 49 6e 76 6f 6b 65 |e);.}../|/ Invoke|
|00005400| 20 61 20 66 6f 6c 64 65 | 72 20 73 65 6c 65 63 74 | a folde|r select|
|00005410| 69 6f 6e 20 64 69 61 6c | 6f 67 20 66 6f 72 20 63 |ion dial|og for c|
|00005420| 68 6f 6f 73 69 6e 67 20 | 74 68 65 20 64 69 72 65 |hoosing |the dire|
|00005430| 63 74 6f 72 79 20 6f 66 | 20 70 72 6f 66 69 6c 65 |ctory of| profile|
|00005440| 20 73 74 6f 72 61 67 65 | 2e 0a 66 75 6e 63 74 69 | storage|..functi|
|00005450| 6f 6e 20 63 68 6f 6f 73 | 65 50 72 6f 66 69 6c 65 |on choos|eProfile|
|00005460| 46 6f 6c 64 65 72 28 29 | 0a 7b 0a 20 20 76 61 72 |Folder()|.{. var|
|00005470| 20 6e 65 77 50 72 6f 66 | 69 6c 65 52 6f 6f 74 3b | newProf|ileRoot;|
|00005480| 0a 20 20 0a 20 20 74 72 | 79 20 7b 0a 20 20 20 20 |. . tr|y {. |
|00005490| 76 61 72 20 64 69 72 43 | 68 6f 6f 73 65 72 20 3d |var dirC|hooser =|
|000054a0| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 63 6c 61 73 | Compone|nts.clas|
|000054b0| 73 65 73 5b 22 40 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |ses["@mo|zilla.or|
|000054c0| 67 2f 66 69 6c 65 70 69 | 63 6b 65 72 3b 31 22 5d |g/filepi|cker;1"]|
|000054d0| 2e 63 72 65 61 74 65 49 | 6e 73 74 61 6e 63 65 28 |.createI|nstance(|
|000054e0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|000054f0| 66 61 63 65 73 2e 6e 73 | 49 46 69 6c 65 50 69 63 |faces.ns|IFilePic|
|00005500| 6b 65 72 29 3b 0a 20 20 | 20 20 64 69 72 43 68 6f |ker);. | dirCho|
|00005510| 6f 73 65 72 2e 69 6e 69 | 74 28 77 69 6e 64 6f 77 |oser.ini|t(window|
|00005520| 2c 20 67 50 72 6f 66 69 | 6c 65 4d 61 6e 61 67 65 |, gProfi|leManage|
|00005530| 72 42 75 6e 64 6c 65 2e | 67 65 74 53 74 72 69 6e |rBundle.|getStrin|
|00005540| 67 28 22 63 68 6f 6f 73 | 65 46 6f 6c 64 65 72 22 |g("choos|eFolder"|
|00005550| 29 2c 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 69 6e |), Compo|nents.in|
|00005560| 74 65 72 66 61 63 65 73 | 2e 6e 73 49 46 69 6c 65 |terfaces|.nsIFile|
|00005570| 50 69 63 6b 65 72 2e 6d | 6f 64 65 47 65 74 46 6f |Picker.m|odeGetFo|
|00005580| 6c 64 65 72 29 3b 0a 20 | 20 20 20 64 69 72 43 68 |lder);. | dirCh|
|00005590| 6f 6f 73 65 72 2e 61 70 | 70 65 6e 64 46 69 6c 74 |ooser.ap|pendFilt|
|000055a0| 65 72 73 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |ers(Comp|onents.i|
|000055b0| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 46 69 6c |nterface|s.nsIFil|
|000055c0| 65 50 69 63 6b 65 72 2e | 66 69 6c 74 65 72 41 6c |ePicker.|filterAl|
|000055d0| 6c 29 3b 0a 20 20 20 20 | 69 66 20 28 64 69 72 43 |l);. |if (dirC|
|000055e0| 68 6f 6f 73 65 72 2e 73 | 68 6f 77 28 29 20 3d 3d |hooser.s|how() ==|
|000055f0| 20 64 69 72 43 68 6f 6f | 73 65 72 2e 72 65 74 75 | dirChoo|ser.retu|
|00005600| 72 6e 43 61 6e 63 65 6c | 29 0a 20 20 20 20 20 20 |rnCancel|). |
|00005610| 72 65 74 75 72 6e 3b 0a | 20 20 20 20 6e 65 77 50 |return;.| newP|
|00005620| 72 6f 66 69 6c 65 52 6f | 6f 74 20 3d 20 64 69 72 |rofileRo|ot = dir|
|00005630| 43 68 6f 6f 73 65 72 2e | 66 69 6c 65 3b 0a 20 20 |Chooser.|file;. |
|00005640| 7d 0a 20 20 63 61 74 63 | 68 28 65 29 20 7b 0a 20 |}. catc|h(e) {. |
|00005650| 20 20 20 2f 2f 20 49 66 | 20 73 6f 6d 65 74 68 69 | // If| somethi|
|00005660| 6e 67 20 66 61 69 6c 73 | 2c 20 63 68 61 6e 67 65 |ng fails|, change|
|00005670| 20 6e 6f 74 68 69 6e 67 | 2e 0a 20 20 20 20 72 65 | nothing|.. re|
|00005680| 74 75 72 6e 3b 0a 20 20 | 7d 0a 0a 20 20 2f 2f 20 |turn;. |}.. // |
|00005690| 44 69 73 61 62 6c 65 20 | 74 68 65 20 22 44 65 66 |Disable |the "Def|
|000056a0| 61 75 6c 74 20 46 6f 6c | 64 65 72 2e 2e 2e 22 20 |ault Fol|der..." |
|000056b0| 62 75 74 74 6f 6e 20 77 | 68 65 6e 20 74 68 65 20 |button w|hen the |
|000056c0| 64 65 66 61 75 6c 74 20 | 70 72 6f 66 69 6c 65 20 |default |profile |
|000056d0| 66 6f 6c 64 65 72 0a 20 | 20 2f 2f 20 77 61 73 20 |folder. | // was |
|000056e0| 73 65 6c 65 63 74 65 64 | 20 6d 61 6e 75 61 6c 6c |selected| manuall|
|000056f0| 79 20 69 6e 20 74 68 65 | 20 46 69 6c 65 20 50 69 |y in the| File Pi|
|00005700| 63 6b 65 72 2e 0a 20 20 | 64 6f 63 75 6d 65 6e 74 |cker.. |document|
|00005710| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00005720| 22 75 73 65 44 65 66 61 | 75 6c 74 22 29 2e 64 69 |"useDefa|ult").di|
|00005730| 73 61 62 6c 65 64 20 3d | 20 28 6e 65 77 50 72 6f |sabled =| (newPro|
|00005740| 66 69 6c 65 52 6f 6f 74 | 2e 65 71 75 61 6c 73 28 |fileRoot|.equals(|
|00005750| 67 50 72 6f 66 69 6c 65 | 2e 64 65 66 61 75 6c 74 |gProfile|.default|
|00005760| 50 72 6f 66 69 6c 65 50 | 61 72 65 6e 74 44 69 72 |ProfileP|arentDir|
|00005770| 29 29 3b 0a 0a 20 20 73 | 65 74 44 69 73 70 6c 61 |));.. s|etDispla|
|00005780| 79 54 6f 46 6f 6c 64 65 | 72 28 6e 65 77 50 72 6f |yToFolde|r(newPro|
|00005790| 66 69 6c 65 52 6f 6f 74 | 29 3b 0a 20 20 75 70 64 |fileRoot|);. upd|
|000057a0| 61 74 65 50 72 6f 66 69 | 6c 65 44 69 73 70 6c 61 |ateProfi|leDispla|
|000057b0| 79 28 29 3b 0a 7d 0a 0a | 2f 2f 20 43 68 65 63 6b |y();.}..|// Check|
|000057c0| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 75 73 |s the cu|rrent us|
|000057d0| 65 72 20 69 6e 70 75 74 | 20 66 6f 72 20 76 61 6c |er input| for val|
|000057e0| 69 64 69 74 79 20 61 6e | 64 20 74 72 69 67 67 65 |idity an|d trigge|
|000057f0| 72 73 20 61 6e 20 65 72 | 72 6f 72 20 6d 65 73 73 |rs an er|ror mess|
|00005800| 61 67 65 20 61 63 63 6f | 72 64 69 6e 67 6c 79 2e |age acco|rdingly.|
|00005810| 0a 66 75 6e 63 74 69 6f | 6e 20 63 68 65 63 6b 43 |.functio|n checkC|
|00005820| 75 72 72 65 6e 74 49 6e | 70 75 74 28 63 75 72 72 |urrentIn|put(curr|
|00005830| 65 6e 74 49 6e 70 75 74 | 29 0a 7b 0a 20 20 76 61 |entInput|).{. va|
|00005840| 72 20 66 69 6e 69 73 68 | 42 75 74 74 6f 6e 20 3d |r finish|Button =|
|00005850| 20 64 6f 63 75 6d 65 6e | 74 2e 64 6f 63 75 6d 65 | documen|t.docume|
|00005860| 6e 74 45 6c 65 6d 65 6e | 74 2e 67 65 74 42 75 74 |ntElemen|t.getBut|
|00005870| 74 6f 6e 28 22 66 69 6e | 69 73 68 22 29 3b 0a 20 |ton("fin|ish");. |
|00005880| 20 76 61 72 20 66 69 6e | 69 73 68 54 65 78 74 20 | var fin|ishText |
|00005890| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 67 65 74 45 6c |= docume|nt.getEl|
|000058a0| 65 6d 65 6e 74 42 79 49 | 64 28 22 66 69 6e 69 73 |ementByI|d("finis|
|000058b0| 68 54 65 78 74 22 29 3b | 0a 20 20 76 61 72 20 63 |hText");|. var c|
|000058c0| 61 6e 41 64 76 61 6e 63 | 65 3b 0a 0a 20 20 76 61 |anAdvanc|e;.. va|
|000058d0| 72 20 65 72 72 6f 72 4d | 65 73 73 61 67 65 20 3d |r errorM|essage =|
|000058e0| 20 63 68 65 63 6b 50 72 | 6f 66 69 6c 65 4e 61 6d | checkPr|ofileNam|
|000058f0| 65 28 63 75 72 72 65 6e | 74 49 6e 70 75 74 29 3b |e(curren|tInput);|
|00005900| 0a 20 20 69 66 20 28 21 | 65 72 72 6f 72 4d 65 73 |. if (!|errorMes|
|00005910| 73 61 67 65 29 20 7b 0a | 20 20 20 20 66 69 6e 69 |sage) {.| fini|
|00005920| 73 68 54 65 78 74 2e 63 | 6c 61 73 73 4e 61 6d 65 |shText.c|lassName|
|00005930| 20 3d 20 22 22 3b 0a 20 | 20 20 20 66 69 6e 69 73 | = "";. | finis|
|00005940| 68 54 65 78 74 2e 66 69 | 72 73 74 43 68 69 6c 64 |hText.fi|rstChild|
|00005950| 2e 64 61 74 61 20 3d 20 | 67 50 72 6f 66 69 6c 65 |.data = |gProfile|
|00005960| 4d 61 6e 61 67 65 72 42 | 75 6e 64 6c 65 2e 67 65 |ManagerB|undle.ge|
|00005970| 74 53 74 72 69 6e 67 28 | 22 70 72 6f 66 69 6c 65 |tString(|"profile|
|00005980| 46 69 6e 69 73 68 54 65 | 78 74 22 29 3b 0a 20 20 |FinishTe|xt");. |
|00005990| 20 20 63 61 6e 41 64 76 | 61 6e 63 65 20 3d 20 74 | canAdv|ance = t|
|000059a0| 72 75 65 3b 0a 20 20 7d | 0a 20 20 65 6c 73 65 20 |rue;. }|. else |
|000059b0| 7b 0a 20 20 20 20 66 69 | 6e 69 73 68 54 65 78 74 |{. fi|nishText|
|000059c0| 2e 63 6c 61 73 73 4e 61 | 6d 65 20 3d 20 22 65 72 |.classNa|me = "er|
|000059d0| 72 6f 72 22 3b 0a 20 20 | 20 20 66 69 6e 69 73 68 |ror";. | finish|
|000059e0| 54 65 78 74 2e 66 69 72 | 73 74 43 68 69 6c 64 2e |Text.fir|stChild.|
|000059f0| 64 61 74 61 20 3d 20 65 | 72 72 6f 72 4d 65 73 73 |data = e|rrorMess|
|00005a00| 61 67 65 3b 0a 20 20 20 | 20 63 61 6e 41 64 76 61 |age;. | canAdva|
|00005a10| 6e 63 65 20 3d 20 66 61 | 6c 73 65 3b 0a 20 20 7d |nce = fa|lse;. }|
|00005a20| 0a 0a 20 20 64 6f 63 75 | 6d 65 6e 74 2e 64 6f 63 |.. docu|ment.doc|
|00005a30| 75 6d 65 6e 74 45 6c 65 | 6d 65 6e 74 2e 63 61 6e |umentEle|ment.can|
|00005a40| 41 64 76 61 6e 63 65 20 | 3d 20 63 61 6e 41 64 76 |Advance |= canAdv|
|00005a50| 61 6e 63 65 3b 0a 20 20 | 66 69 6e 69 73 68 42 75 |ance;. |finishBu|
|00005a60| 74 74 6f 6e 2e 64 69 73 | 61 62 6c 65 64 20 3d 20 |tton.dis|abled = |
|00005a70| 21 63 61 6e 41 64 76 61 | 6e 63 65 3b 0a 0a 20 20 |!canAdva|nce;.. |
|00005a80| 75 70 64 61 74 65 50 72 | 6f 66 69 6c 65 44 69 73 |updatePr|ofileDis|
|00005a90| 70 6c 61 79 28 29 3b 0a | 7d 0a 0a 2f 2f 20 43 68 |play();.|}..// Ch|
|00005aa0| 65 63 6b 73 20 77 68 65 | 74 68 65 72 20 74 68 65 |ecks whe|ther the|
|00005ab0| 20 67 69 76 65 6e 20 73 | 74 72 69 6e 67 20 69 73 | given s|tring is|
|00005ac0| 20 61 20 76 61 6c 69 64 | 20 70 72 6f 66 69 6c 65 | a valid| profile|
|00005ad0| 20 6e 61 6d 65 2e 0a 2f | 2f 20 52 65 74 75 72 6e | name../|/ Return|
|00005ae0| 73 20 61 6e 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |s an err|or messa|
|00005af0| 67 65 20 64 65 73 63 72 | 69 62 69 6e 67 20 74 68 |ge descr|ibing th|
|00005b00| 65 20 65 72 72 6f 72 20 | 69 6e 20 74 68 65 20 6e |e error |in the n|
|00005b10| 61 6d 65 20 6f 72 20 22 | 22 20 77 68 65 6e 20 69 |ame or "|" when i|
|00005b20| 74 27 73 20 76 61 6c 69 | 64 2e 0a 66 75 6e 63 74 |t's vali|d..funct|
|00005b30| 69 6f 6e 20 63 68 65 63 | 6b 50 72 6f 66 69 6c 65 |ion chec|kProfile|
|00005b40| 4e 61 6d 65 28 70 72 6f | 66 69 6c 65 4e 61 6d 65 |Name(pro|fileName|
|00005b50| 54 6f 43 68 65 63 6b 29 | 0a 7b 0a 20 20 2f 2f 20 |ToCheck)|.{. // |
|00005b60| 43 68 65 63 6b 20 66 6f | 72 20 65 6d 74 70 79 20 |Check fo|r emtpy |
|00005b70| 70 72 6f 66 69 6c 65 20 | 6e 61 6d 65 2e 0a 20 20 |profile |name.. |
|00005b80| 69 66 20 28 21 2f 5c 53 | 2f 2e 74 65 73 74 28 70 |if (!/\S|/.test(p|
|00005b90| 72 6f 66 69 6c 65 4e 61 | 6d 65 54 6f 43 68 65 63 |rofileNa|meToChec|
|00005ba0| 6b 29 29 0a 20 20 20 20 | 72 65 74 75 72 6e 20 67 |k)). |return g|
|00005bb0| 50 72 6f 66 69 6c 65 4d | 61 6e 61 67 65 72 42 75 |ProfileM|anagerBu|
|00005bc0| 6e 64 6c 65 2e 67 65 74 | 53 74 72 69 6e 67 28 22 |ndle.get|String("|
|00005bd0| 70 72 6f 66 69 6c 65 4e | 61 6d 65 45 6d 70 74 79 |profileN|ameEmpty|
|00005be0| 22 29 3b 0a 0a 20 20 2f | 2f 20 43 68 65 63 6b 20 |");.. /|/ Check |
|00005bf0| 77 68 65 74 68 65 72 20 | 61 6c 6c 20 63 68 61 72 |whether |all char|
|00005c00| 61 63 74 65 72 73 20 69 | 6e 20 74 68 65 20 70 72 |acters i|n the pr|
|00005c10| 6f 66 69 6c 65 20 6e 61 | 6d 65 20 61 72 65 20 61 |ofile na|me are a|
|00005c20| 6c 6c 6f 77 65 64 2e 0a | 20 20 69 66 20 28 2f 28 |llowed..| if (/(|
|00005c30| 5b 5c 5c 2a 3a 3f 3c 3e | 7c 5c 2f 5c 22 5d 29 2f |[\\*:?<>||\/\"])/|
|00005c40| 2e 74 65 73 74 28 70 72 | 6f 66 69 6c 65 4e 61 6d |.test(pr|ofileNam|
|00005c50| 65 54 6f 43 68 65 63 6b | 29 29 0a 20 20 20 20 72 |eToCheck|)). r|
|00005c60| 65 74 75 72 6e 20 67 50 | 72 6f 66 69 6c 65 4d 61 |eturn gP|rofileMa|
|00005c70| 6e 61 67 65 72 42 75 6e | 64 6c 65 2e 67 65 74 46 |nagerBun|dle.getF|
|00005c80| 6f 72 6d 61 74 74 65 64 | 53 74 72 69 6e 67 28 22 |ormatted|String("|
|00005c90| 69 6e 76 61 6c 69 64 43 | 68 61 72 22 2c 20 5b 52 |invalidC|har", [R|
|00005ca0| 65 67 45 78 70 2e 24 31 | 5d 29 3b 0a 0a 20 20 2f |egExp.$1|]);.. /|
|00005cb0| 2f 20 43 68 65 63 6b 20 | 77 68 65 74 68 65 72 20 |/ Check |whether |
|00005cc0| 61 20 70 72 6f 66 69 6c | 65 20 77 69 74 68 20 74 |a profil|e with t|
|00005cd0| 68 65 20 73 61 6d 65 20 | 6e 61 6d 65 20 61 6c 72 |he same |name alr|
|00005ce0| 65 61 64 79 20 65 78 69 | 73 74 73 2e 0a 20 20 69 |eady exi|sts.. i|
|00005cf0| 66 20 28 67 50 72 6f 66 | 69 6c 65 2e 70 72 6f 66 |f (gProf|ile.prof|
|00005d00| 69 6c 65 45 78 69 73 74 | 73 28 70 72 6f 66 69 6c |ileExist|s(profil|
|00005d10| 65 4e 61 6d 65 54 6f 43 | 68 65 63 6b 29 29 0a 20 |eNameToC|heck)). |
|00005d20| 20 20 20 72 65 74 75 72 | 6e 20 67 50 72 6f 66 69 | retur|n gProfi|
|00005d30| 6c 65 4d 61 6e 61 67 65 | 72 42 75 6e 64 6c 65 2e |leManage|rBundle.|
|00005d40| 67 65 74 53 74 72 69 6e | 67 28 22 70 72 6f 66 69 |getStrin|g("profi|
|00005d50| 6c 65 45 78 69 73 74 73 | 22 29 3b 0a 0a 20 20 2f |leExists|");.. /|
|00005d60| 2f 20 70 72 6f 66 69 6c | 65 4e 61 6d 65 54 6f 43 |/ profil|eNameToC|
|00005d70| 68 65 63 6b 20 69 73 20 | 76 61 6c 69 64 2e 0a 20 |heck is |valid.. |
|00005d80| 20 72 65 74 75 72 6e 20 | 22 22 3b 0a 7d 0a 0a 2f | return |"";.}../|
|00005d90| 2f 20 43 61 6c 6c 65 64 | 20 77 68 65 6e 20 74 68 |/ Called| when th|
|00005da0| 65 20 66 69 72 73 74 20 | 77 69 7a 61 72 64 20 70 |e first |wizard p|
|00005db0| 61 67 65 20 69 73 20 73 | 68 6f 77 6e 2e 0a 66 75 |age is s|hown..fu|
|00005dc0| 6e 63 74 69 6f 6e 20 65 | 6e 61 62 6c 65 4e 65 78 |nction e|nableNex|
|00005dd0| 74 42 75 74 74 6f 6e 28 | 29 0a 7b 0a 20 20 64 6f |tButton(|).{. do|
|00005de0| 63 75 6d 65 6e 74 2e 64 | 6f 63 75 6d 65 6e 74 45 |cument.d|ocumentE|
|00005df0| 6c 65 6d 65 6e 74 2e 63 | 61 6e 41 64 76 61 6e 63 |lement.c|anAdvanc|
|00005e00| 65 20 3d 20 74 72 75 65 | 3b 0a 7d 0a 0a 66 75 6e |e = true|;.}..fun|
|00005e10| 63 74 69 6f 6e 20 6f 6e | 43 61 6e 63 65 6c 28 29 |ction on|Cancel()|
|00005e20| 0a 7b 0a 20 20 2f 2f 20 | 77 69 6e 64 6f 77 2e 6f |.{. // |window.o|
|00005e30| 70 65 6e 65 72 20 69 73 | 20 66 61 6c 73 65 20 69 |pener is| false i|
|00005e40| 66 20 74 68 65 20 43 72 | 65 61 74 65 20 50 72 6f |f the Cr|eate Pro|
|00005e50| 66 69 6c 65 20 57 69 7a | 61 72 64 20 77 61 73 20 |file Wiz|ard was |
|00005e60| 6f 70 65 6e 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |opened f|rom the |
|00005e70| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 2e 0a 20 20 |command |line.. |
|00005e80| 69 66 20 28 21 77 69 6e | 64 6f 77 2e 6f 70 65 6e |if (!win|dow.open|
|00005e90| 65 72 29 0a 20 20 20 20 | 72 65 74 75 72 6e 20 74 |er). |return t|
|00005ea0| 72 75 65 3b 0a 0a 20 20 | 74 72 79 20 7b 0a 20 20 |rue;.. |try {. |
|00005eb0| 20 20 67 50 72 6f 66 69 | 6c 65 2e 66 6f 72 67 65 | gProfi|le.forge|
|00005ec0| 74 43 75 72 72 65 6e 74 | 50 72 6f 66 69 6c 65 28 |tCurrent|Profile(|
|00005ed0| 29 3b 0a 20 20 7d 0a 20 | 20 63 61 74 63 68 20 28 |);. }. | catch (|
|00005ee0| 65 78 29 20 7b 0a 20 20 | 7d 0a 0a 20 20 72 65 74 |ex) {. |}.. ret|
|00005ef0| 75 72 6e 20 74 72 75 65 | 3b 0a 7d 0a 0a 66 75 6e |urn true|;.}..fun|
|00005f00| 63 74 69 6f 6e 20 6f 6e | 46 69 6e 69 73 68 28 29 |ction on|Finish()|
|00005f10| 20 0a 7b 0a 20 20 76 61 | 72 20 70 72 6f 66 69 6c | .{. va|r profil|
|00005f20| 65 4e 61 6d 65 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |eName = |document|
|00005f30| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00005f40| 22 70 72 6f 66 69 6c 65 | 4e 61 6d 65 22 29 2e 76 |"profile|Name").v|
|00005f50| 61 6c 75 65 3b 0a 20 20 | 76 61 72 20 6c 61 6e 67 |alue;. |var lang|
|00005f60| 75 61 67 65 43 6f 64 65 | 20 3d 20 64 6f 63 75 6d |uageCode| = docum|
|00005f70| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00005f80| 49 64 28 22 70 72 6f 66 | 69 6c 65 4c 61 6e 67 75 |Id("prof|ileLangu|
|00005f90| 61 67 65 22 29 2e 67 65 | 74 41 74 74 72 69 62 75 |age").ge|tAttribu|
|00005fa0| 74 65 28 22 64 61 74 61 | 22 29 3b 0a 20 20 76 61 |te("data|");. va|
|00005fb0| 72 20 72 65 67 69 6f 6e | 43 6f 64 65 20 3d 20 64 |r region|Code = d|
|00005fc0| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00005fd0| 6e 74 42 79 49 64 28 22 | 70 72 6f 66 69 6c 65 52 |ntById("|profileR|
|00005fe0| 65 67 69 6f 6e 22 29 2e | 67 65 74 41 74 74 72 69 |egion").|getAttri|
|00005ff0| 62 75 74 65 28 22 64 61 | 74 61 22 29 3b 0a 0a 20 |bute("da|ta");.. |
|00006000| 20 76 61 72 20 70 72 6f | 63 65 65 64 20 3d 20 70 | var pro|ceed = p|
|00006010| 72 6f 63 65 73 73 43 72 | 65 61 74 65 50 72 6f 66 |rocessCr|eateProf|
|00006020| 69 6c 65 44 61 74 61 28 | 70 72 6f 66 69 6c 65 4e |ileData(|profileN|
|00006030| 61 6d 65 2c 20 67 50 72 | 6f 66 69 6c 65 52 6f 6f |ame, gPr|ofileRoo|
|00006040| 74 2c 20 6c 61 6e 67 75 | 61 67 65 43 6f 64 65 2c |t, langu|ageCode,|
|00006050| 20 72 65 67 69 6f 6e 43 | 6f 64 65 29 3b 0a 20 20 | regionC|ode);. |
|00006060| 2f 2f 20 45 72 72 6f 72 | 20 6f 6e 20 70 72 6f 66 |// Error| on prof|
|00006070| 69 6c 65 20 63 72 65 61 | 74 69 6f 6e 2e 20 44 6f |ile crea|tion. Do|
|00006080| 6e 27 74 20 6c 65 61 76 | 65 20 74 68 65 20 77 69 |n't leav|e the wi|
|00006090| 7a 61 72 64 20 73 6f 20 | 74 68 65 20 75 73 65 72 |zard so |the user|
|000060a0| 20 63 61 6e 20 63 6f 72 | 72 65 63 74 20 68 69 73 | can cor|rect his|
|000060b0| 20 69 6e 70 75 74 2e 0a | 20 20 69 66 20 28 21 70 | input..| if (!p|
|000060c0| 72 6f 63 65 65 64 29 0a | 20 20 20 20 72 65 74 75 |roceed).| retu|
|000060d0| 72 6e 20 66 61 6c 73 65 | 3b 0a 0a 20 20 2f 2f 20 |rn false|;.. // |
|000060e0| 77 69 6e 64 6f 77 2e 6f | 70 65 6e 65 72 20 69 73 |window.o|pener is|
|000060f0| 20 66 61 6c 73 65 20 69 | 66 20 74 68 65 20 43 72 | false i|f the Cr|
|00006100| 65 61 74 65 20 50 72 6f | 66 69 6c 65 20 57 69 7a |eate Pro|file Wiz|
|00006110| 61 72 64 20 77 61 73 20 | 6f 70 65 6e 65 64 20 66 |ard was |opened f|
|00006120| 72 6f 6d 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |rom the |command |
|00006130| 6c 69 6e 65 2e 0a 20 20 | 69 66 20 28 77 69 6e 64 |line.. |if (wind|
|00006140| 6f 77 2e 6f 70 65 6e 65 | 72 29 0a 20 20 20 20 2f |ow.opene|r). /|
|00006150| 2f 20 41 64 64 20 6e 65 | 77 20 70 72 6f 66 69 6c |/ Add ne|w profil|
|00006160| 65 20 74 6f 20 74 68 65 | 20 6c 69 73 74 20 69 6e |e to the| list in|
|00006170| 20 74 68 65 20 50 72 6f | 66 69 6c 65 20 4d 61 6e | the Pro|file Man|
|00006180| 61 67 65 72 2e 0a 20 20 | 20 20 77 69 6e 64 6f 77 |ager.. | window|
|00006190| 2e 6f 70 65 6e 65 72 2e | 43 72 65 61 74 65 50 72 |.opener.|CreatePr|
|000061a0| 6f 66 69 6c 65 28 70 72 | 6f 66 69 6c 65 4e 61 6d |ofile(pr|ofileNam|
|000061b0| 65 2c 20 67 50 72 6f 66 | 69 6c 65 52 6f 6f 74 29 |e, gProf|ileRoot)|
|000061c0| 3b 0a 20 20 65 6c 73 65 | 20 7b 0a 20 20 20 20 2f |;. else| {. /|
|000061d0| 2f 20 55 73 65 20 74 68 | 65 20 6e 65 77 6c 79 20 |/ Use th|e newly |
|000061e0| 63 72 65 61 74 65 64 20 | 50 72 6f 66 69 6c 65 2e |created |Profile.|
|000061f0| 0a 20 20 20 20 67 50 72 | 6f 66 69 6c 65 2e 63 75 |. gPr|ofile.cu|
|00006200| 72 72 65 6e 74 50 72 6f | 66 69 6c 65 20 3d 20 70 |rrentPro|file = p|
|00006210| 72 6f 66 69 6c 65 4e 61 | 6d 65 3b 0a 20 20 20 20 |rofileNa|me;. |
|00006220| 76 61 72 20 64 69 61 6c | 6f 67 50 61 72 61 6d 73 |var dial|ogParams|
|00006230| 20 3d 20 77 69 6e 64 6f | 77 2e 61 72 67 75 6d 65 | = windo|w.argume|
|00006240| 6e 74 73 5b 30 5d 2e 51 | 75 65 72 79 49 6e 74 65 |nts[0].Q|ueryInte|
|00006250| 72 66 61 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |rface(Co|mponents|
|00006260| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 44 |.interfa|ces.nsID|
|00006270| 69 61 6c 6f 67 50 61 72 | 61 6d 42 6c 6f 63 6b 29 |ialogPar|amBlock)|
|00006280| 3b 0a 20 20 20 20 64 69 | 61 6c 6f 67 50 61 72 61 |;. di|alogPara|
|00006290| 6d 73 2e 53 65 74 49 6e | 74 28 30 2c 20 31 29 3b |ms.SetIn|t(0, 1);|
|000062a0| 20 2f 2f 73 65 74 20 74 | 68 65 20 6e 65 77 6c 79 | //set t|he newly|
|000062b0| 20 63 72 65 61 74 65 64 | 20 70 72 6f 66 69 6c 65 | created| profile|
|000062c0| 20 61 73 20 74 68 65 20 | 64 65 66 61 75 6c 74 0a | as the |default.|
|000062d0| 20 20 7d 0a 0a 20 20 2f | 2f 20 45 78 69 74 20 74 | }.. /|/ Exit t|
|000062e0| 68 65 20 77 69 7a 61 72 | 64 2e 0a 20 20 72 65 74 |he wizar|d.. ret|
|000062f0| 75 72 6e 20 74 72 75 65 | 3b 0a 7d 0a 0a 2f 2f 20 |urn true|;.}..// |
|00006300| 43 72 65 61 74 65 20 70 | 72 6f 66 69 6c 65 20 6e |Create p|rofile n|
|00006310| 61 6d 65 64 20 70 72 6f | 66 69 6c 65 4e 61 6d 65 |amed pro|fileName|
|00006320| 20 69 6e 20 70 72 6f 66 | 69 6c 65 52 6f 6f 74 2e | in prof|ileRoot.|
|00006330| 0a 66 75 6e 63 74 69 6f | 6e 20 70 72 6f 63 65 73 |.functio|n proces|
|00006340| 73 43 72 65 61 74 65 50 | 72 6f 66 69 6c 65 44 61 |sCreateP|rofileDa|
|00006350| 74 61 28 70 72 6f 66 69 | 6c 65 4e 61 6d 65 2c 20 |ta(profi|leName, |
|00006360| 70 72 6f 66 69 6c 65 52 | 6f 6f 74 2c 20 6c 61 6e |profileR|oot, lan|
|00006370| 67 75 61 67 65 43 6f 64 | 65 2c 20 72 65 67 69 6f |guageCod|e, regio|
|00006380| 6e 43 6f 64 65 29 0a 7b | 0a 20 20 74 72 79 20 7b |nCode).{|. try {|
|00006390| 0a 20 20 20 20 76 61 72 | 20 70 72 6f 66 69 6c 65 |. var| profile|
|000063a0| 4c 6f 63 61 74 69 6f 6e | 20 3d 20 70 72 6f 66 69 |Location| = profi|
|000063b0| 6c 65 52 6f 6f 74 2e 63 | 6c 6f 6e 65 28 29 3b 0a |leRoot.c|lone();.|
|000063c0| 20 20 20 20 70 72 6f 66 | 69 6c 65 4c 6f 63 61 74 | prof|ileLocat|
|000063d0| 69 6f 6e 2e 61 70 70 65 | 6e 64 28 70 72 6f 66 69 |ion.appe|nd(profi|
|000063e0| 6c 65 4e 61 6d 65 29 3b | 0a 20 20 20 20 67 50 72 |leName);|. gPr|
|000063f0| 6f 66 69 6c 65 2e 63 72 | 65 61 74 65 4e 65 77 50 |ofile.cr|eateNewP|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.